lean4-htt/tests/lean/run/new_frontend2.lean
2020-01-11 09:02:50 -08:00

19 lines
264 B
Text

new_frontend
declare_syntax_cat foo
variable {m : Type → Type}
variable [s : Functor m]
#check @Nat.rec
#check s.map
/-
The following doesn't work because
```
variable [r : Monad m]
#check r.map
```
because `Monad.to* methods have bad binder annotations
-/