Idris2/tests/idris2/reg003/expected

71 lines
1.6 KiB
Plaintext
Raw Normal View History

1/1: Building Holes (Holes.idr)
Error: While processing type of Vect_ext. Undefined name ~=~.
Holes:4:64--4:85
2021-02-11 20:24:26 +03:00
1 | import Data.Vect
2 | import Data.Fin
3 |
2020-07-22 22:16:43 +03:00
4 | Vect_ext : (v : Vect n a) -> (w : Vect n a) -> ((i : Fin n) -> index i v = index i w)
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^^^^^^^^^^
Error: While processing type of Weird. Undefined name ~=~.
Holes:7:26--7:31
2021-02-11 20:24:26 +03:00
3 |
4 | Vect_ext : (v : Vect n a) -> (w : Vect n a) -> ((i : Fin n) -> index i v = index i w)
5 | -> v = w
6 |
2020-07-22 22:16:43 +03:00
7 | Weird : (v: Vect n a) -> v = v
2021-02-11 20:24:26 +03:00
^^^^^
Error: No type declaration for Main.Weird.
Holes:8:1--8:41
2021-02-11 20:24:26 +03:00
4 | Vect_ext : (v : Vect n a) -> (w : Vect n a) -> ((i : Fin n) -> index i v = index i w)
5 | -> v = w
6 |
7 | Weird : (v: Vect n a) -> v = v
8 | Weird v = Vect_ext ?hole0 ?hole1 ?hole2
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: While processing type of f. Undefined name Bool.
Holes:10:5--10:9
2021-02-11 20:24:26 +03:00
06 |
07 | Weird : (v: Vect n a) -> v = v
08 | Weird v = Vect_ext ?hole0 ?hole1 ?hole2
09 |
2020-07-22 22:16:43 +03:00
10 | f : Bool -> Nat
2021-02-11 20:24:26 +03:00
^^^^
Error: No type declaration for Main.f.
Holes:11:1--11:11
2021-02-11 20:24:26 +03:00
07 | Weird : (v: Vect n a) -> v = v
08 | Weird v = Vect_ext ?hole0 ?hole1 ?hole2
09 |
10 | f : Bool -> Nat
2020-07-22 22:16:43 +03:00
11 | f True = 0
2021-02-11 20:24:26 +03:00
^^^^^^^^^^
Main> Error: Undefined name help.
(Interactive):1:4--1:8
2020-07-22 22:16:43 +03:00
1 | :t help
2021-02-11 20:24:26 +03:00
^^^^
Main> Error: Undefined name hole0.
(Interactive):1:4--1:9
2020-07-22 22:16:43 +03:00
1 | :t hole0
2021-02-11 20:24:26 +03:00
^^^^^
Main> Error: Undefined name hole1.
(Interactive):1:4--1:9
2020-07-22 22:16:43 +03:00
1 | :t hole1
2021-02-11 20:24:26 +03:00
^^^^^
Main> Unknown name hole1
Main> Bye for now!