lean4-htt/tests/lean/delabDoLetFun.lean
2024-01-02 09:36:39 +00:00

14 lines
193 B
Text

/-!
Testing delaboration of `letFun` as a `doElem`
-/
/-!
A `have` in the middle of a `do` expression.
-/
def x : IO Nat := do
println! "a"
have a := 1
println! "b"
return a
#print x