2013-09-01 01:46:18 +00:00
|
|
|
Variable myeq : Pi (A : Type), A -> A -> Bool
|
2014-01-05 19:03:35 +00:00
|
|
|
print myeq _ true false
|
2013-09-01 01:46:18 +00:00
|
|
|
Variable T : Type
|
|
|
|
Variable a : T
|
|
|
|
Check myeq _ true a
|
|
|
|
Variable myeq2 {A:Type} (a b : A) : Bool
|
|
|
|
Infix 50 === : myeq2
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption lean::pp::implicit true
|
2013-09-01 01:46:18 +00:00
|
|
|
Check true === a
|