tryWithHooks.dhall 407 B

1234567891011121314
  1. let Types = ../types/package.dhall
  2. let tryStep
  3. : Types.Step → Types.StepHooks Types.Step → Types.Step
  4. = λ(step : Types.Step) →
  5. λ(hooks : Types.StepHooks Types.Step) →
  6. λ(Step : Type) →
  7. λ(constructors : Types.StepConstructors Step) →
  8. constructors.try
  9. (step Step constructors)
  10. (./translateHooks.dhall Step constructors hooks)
  11. in tryStep