2013-12-10 23:32:12 +00:00
|
|
|
(*
|
|
|
|
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
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption pp::notation false
|
2013-12-10 23:32:12 +00:00
|
|
|
Check 10 ; true ; false
|
|
|
|
Check 10 ; 10 ; true
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption pp::implicit true
|
2013-12-10 23:32:12 +00:00
|
|
|
Check 10 ; true ; false
|
|
|
|
Check 10 ; 10 ; true
|