19 lines
264 B
Text
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
|
|
-/
|