dd72269b13
It is not nice to have Set as a reserved keyword. See example examples/lean/set.lean Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
18 lines
519 B
Text
18 lines
519 B
Text
(*
|
|
TODO(Leo):
|
|
Improve elaborator's performance on this example.
|
|
The main problem is that we don't have any indexing technique
|
|
for the elaborator.
|
|
*)
|
|
Variable f {A : Type} (a : A) {B : Type} : A -> B -> A
|
|
Variable g {A B : Type} (a : A) {C : Type} : B -> C -> C
|
|
Notation 100 _ ; _ ; _ : f
|
|
Notation 100 _ ; _ ; _ : g
|
|
Check 10 ; true ; false
|
|
Check 10 ; 10 ; true
|
|
SetOption pp::notation false
|
|
Check 10 ; true ; false
|
|
Check 10 ; 10 ; true
|
|
SetOption pp::implicit true
|
|
Check 10 ; true ; false
|
|
Check 10 ; 10 ; true
|