mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
00ab9573a5
* [ re #1944 ] Allow simple toplevel aliases * [ done ] toplevel aliases with arguments * [ fix ] weird nonsensical test case * [ fix ] golden test files
25 lines
449 B
Plaintext
25 lines
449 B
Plaintext
1/1: Building Holes (Holes.idr)
|
|
Warning: Unreachable clause: f True
|
|
|
|
Holes:12:1--12:7
|
|
08 | Weird v = Vect_ext ?hole0 ?hole1 ?hole2
|
|
09 |
|
|
10 | f : Bool -> Nat
|
|
11 | f True = 0
|
|
12 | f True = ?help
|
|
^^^^^^
|
|
|
|
Main> Main.help : Nat
|
|
Main> 0 a : Type
|
|
0 n : Nat
|
|
v : Vect n a
|
|
------------------------------
|
|
hole0 : Vect n a
|
|
Main> 0 a : Type
|
|
0 n : Nat
|
|
v : Vect n a
|
|
------------------------------
|
|
hole1 : Vect n a
|
|
Main> v
|
|
Main> Bye for now!
|