2014-06-15 17:40:18 +00:00
|
|
|
ite (and p q) (f x) y : N
|
|
|
|
t10.lean:14:22: error: type mismatch at application
|
2014-07-10 01:47:10 +00:00
|
|
|
ite (and p q) q
|
2014-06-15 17:40:18 +00:00
|
|
|
expected type:
|
2014-07-10 01:47:10 +00:00
|
|
|
N
|
2014-06-15 17:40:18 +00:00
|
|
|
given type:
|
2014-07-10 01:47:10 +00:00
|
|
|
B
|
2014-06-15 17:40:18 +00:00
|
|
|
cons x (cons y (cons z (cons x (cons y (cons y nil))))) : list
|
|
|
|
cons x nil : list
|
|
|
|
nil : list
|