lean4-htt/tests/lean/run/500_lean3.lean
Leonardo de Moura 9a5f239513 refactor: remove Monad Option and Alternative Option
We should use `OptionM` instead.
`Option` still implements `Functor` and `OrElse`.

cc @Kha
2021-03-20 18:25:25 -07:00

4 lines
124 B
Text

example (foo bar : OptionM Nat) : False := by
have do { let x ← bar; foo } = bar >>= fun x => foo := rfl
admit
done