2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building Holes (Holes.idr)
|
2021-10-13 23:55:23 +03:00
|
|
|
Warning: Unreachable clause: f True
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-10-13 23:55:23 +03:00
|
|
|
Holes:12:1--12:7
|
2021-02-11 20:24:26 +03:00
|
|
|
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-10-13 23:55:23 +03:00
|
|
|
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
|
2020-05-19 20:25:18 +03:00
|
|
|
Main> Bye for now!
|