lean4-htt/tests/lean/delabDoLetFun.lean
Kyle Miller 044bfdb098
feat: eliminate letFun support, deprecate let_fun syntax (#9086)
This PR deprecates `let_fun` syntax in favor of `have` and removes
`letFun` support from WHNF and `simp`.
2025-06-30 02:10:18 +00:00

14 lines
191 B
Text

/-!
Testing delaboration of `have` 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