mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +03:00
18 lines
468 B
Plaintext
18 lines
468 B
Plaintext
1/1: Building Vect (Vect.idr)
|
|
Main> Main.append: append (_ :: _) _
|
|
Main> Main.lookup: All cases covered
|
|
Main> Main.zip: All cases covered
|
|
Main> Bye for now!
|
|
1/1: Building Vect2 (Vect2.idr)
|
|
Error: zip [] [] is not a valid impossible case.
|
|
|
|
Vect2:8:1--8:21
|
|
4 | Nil : Vect Z a
|
|
5 | (::) : a -> Vect k a -> Vect (S k) a
|
|
6 |
|
|
7 | zip : Vect n a -> Vect n b -> Vect n (a, b)
|
|
8 | zip [] [] impossible
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
1/1: Building Vect3 (Vect3.idr)
|