2013-09-03 17:09:19 +00:00
|
|
|
|
Set: pp::colors
|
2013-09-03 17:44:51 +00:00
|
|
|
|
Set: pp::unicode
|
|
|
|
|
Error (line: 1, pos: 10) application type mismatch, none of the overloads can be used
|
2013-09-03 03:05:47 +00:00
|
|
|
|
Candidates:
|
2013-09-04 16:03:41 +00:00
|
|
|
|
Real::add : ℝ → ℝ → ℝ
|
|
|
|
|
Int::add : ℤ → ℤ → ℤ
|
|
|
|
|
Nat::add : ℕ → ℕ → ℕ
|
2013-09-03 03:05:47 +00:00
|
|
|
|
Arguments:
|
2013-09-04 16:03:41 +00:00
|
|
|
|
1 : ℕ
|
2013-09-03 03:05:47 +00:00
|
|
|
|
⊤ : Bool
|
|
|
|
|
Assumed: R
|
|
|
|
|
Assumed: T
|
|
|
|
|
Assumed: r2t
|
|
|
|
|
Coercion r2t
|
|
|
|
|
Assumed: t2r
|
|
|
|
|
Coercion t2r
|
|
|
|
|
Assumed: f
|
|
|
|
|
Assumed: a
|
|
|
|
|
Assumed: b
|
|
|
|
|
Set: lean::pp::coercion
|
|
|
|
|
Set: lean::pp::notation
|
|
|
|
|
f a b
|
|
|
|
|
f (r2t b) (t2r a)
|
|
|
|
|
Assumed: g
|
|
|
|
|
f a b
|
2013-09-03 17:44:51 +00:00
|
|
|
|
Error (line: 19, pos: 10) ambiguous overloads
|
2013-09-03 03:05:47 +00:00
|
|
|
|
Candidates:
|
2013-09-03 17:09:19 +00:00
|
|
|
|
g : R → T → R
|
|
|
|
|
f : T → R → T
|
2013-09-03 03:05:47 +00:00
|
|
|
|
Arguments:
|
|
|
|
|
b : R
|
|
|
|
|
a : T
|