lean4-htt/tests/lean/770.lean.expected.out
2021-12-13 11:08:38 -08:00

3 lines
214 B
Text

770.lean:1:25-3:40: error: invalid 'do' notation, expected type is not a monad application
Nat
You can use the `do` notation in pure code by writing `Id.run do` instead of `do`, where `Id` is the identity monad.