lean4-htt/tests/lean/run/elabIte.lean
Leonardo de Moura bcfaeaceab feat: change ite and dite argument order
Motivation: make sure `propagateExpectedType` heuristic is applied in
the new frontend when processing them.
2020-02-03 14:11:29 -08:00

4 lines
74 B
Text

new_frontend
def f (x y : Nat) : Option Nat :=
if x > y then x else none