2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building UnboundImplicits (UnboundImplicits.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing constructor Foo. Undefined name n.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
UnboundImplicits:6:22--6:23
|
2021-02-11 20:24:26 +03:00
|
|
|
2 | import Data.Vect
|
|
|
|
3 |
|
|
|
|
4 | %unbound_implicits off
|
|
|
|
5 |
|
2020-07-22 22:16:43 +03:00
|
|
|
6 | record Foo (x : Vect n Nat) where
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: Undefined name n.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
UnboundImplicits:9:24--9:25
|
2021-02-11 20:24:26 +03:00
|
|
|
5 |
|
|
|
|
6 | record Foo (x : Vect n Nat) where
|
|
|
|
7 | constructor MkFoo
|
|
|
|
8 |
|
2020-07-22 22:16:43 +03:00
|
|
|
9 | parameters (Foo : Vect n Nat)
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: While processing constructor Foo. Undefined name n.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
UnboundImplicits:14:25--14:26
|
2021-02-11 20:24:26 +03:00
|
|
|
10 | bar : Nat
|
|
|
|
11 | bar = 0
|
|
|
|
12 |
|
|
|
|
13 |
|
2020-07-22 22:16:43 +03:00
|
|
|
14 | interface Foo (a : Vect n Nat) where
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
Error: While processing type of Functor implementation at UnboundImplicits:17:1--17:38. Undefined name n.
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
UnboundImplicits:17:30--17:31
|
2021-02-11 20:24:26 +03:00
|
|
|
13 |
|
|
|
|
14 | interface Foo (a : Vect n Nat) where
|
|
|
|
15 | baz : Nat
|
|
|
|
16 |
|
2020-07-22 22:16:43 +03:00
|
|
|
17 | implementation Functor (Vect n) where
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|