mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 16:21:46 +03:00
5e9837828a
- Added initial implementations for terms and values - Error messages converted to pretty printer - Colorization for error messages - Color and console width option both as command line and repl command
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
1/1: Building Holes (Holes.idr)
|
|
Error: While processing type of Vect_ext. Undefined name ~=~.
|
|
|
|
Holes.idr:4:64--4:85
|
|
|
|
|
4 | Vect_ext : (v : Vect n a) -> (w : Vect n a) -> ((i : Fin n) -> index i v = index i w)
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Error: While processing type of Weird. Undefined name ~=~.
|
|
|
|
Holes.idr:7:26--7:31
|
|
|
|
|
7 | Weird : (v: Vect n a) -> v = v
|
|
| ^^^^^
|
|
|
|
Error: No type declaration for Main.Weird.
|
|
|
|
Holes.idr:8:1--10:1
|
|
08 | Weird v = Vect_ext ?hole0 ?hole1 ?hole2
|
|
09 |
|
|
10 | f : Bool -> Nat
|
|
|
|
Error: While processing type of f. Undefined name Bool.
|
|
|
|
Holes.idr:10:5--10:9
|
|
|
|
|
10 | f : Bool -> Nat
|
|
| ^^^^
|
|
|
|
Error: No type declaration for Main.f.
|
|
|
|
Holes.idr:11:1--12:1
|
|
11 | f True = 0
|
|
12 | f True = ?help
|
|
|
|
Main> Error: Undefined name help.
|
|
|
|
(interactive):1:4--1:8
|
|
|
|
|
1 | :t help
|
|
| ^^^^
|
|
|
|
Main> Error: Undefined name hole0.
|
|
|
|
(interactive):1:4--1:9
|
|
|
|
|
1 | :t hole0
|
|
| ^^^^^
|
|
|
|
Main> Error: Undefined name hole1.
|
|
|
|
(interactive):1:4--1:9
|
|
|
|
|
1 | :t hole1
|
|
| ^^^^^
|
|
|
|
Main> Unknown name hole1
|
|
Main> Bye for now!
|