2014-01-05 20:05:08 +00:00
|
|
|
variable myeq : Pi (A : Type), A -> A -> Bool
|
2014-01-05 19:03:35 +00:00
|
|
|
print myeq _ true false
|
2014-01-05 20:05:08 +00:00
|
|
|
variable T : Type
|
|
|
|
variable a : T
|
|
|
|
check myeq _ true a
|
|
|
|
variable myeq2 {A:Type} (a b : A) : Bool
|
|
|
|
infix 50 === : myeq2
|
|
|
|
setoption lean::pp::implicit true
|
|
|
|
check true === a
|