mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 06:52:19 +03:00
11 lines
348 B
Plaintext
11 lines
348 B
Plaintext
1/1: Building Vect (Vect.idr)
|
|
Main> Main> Cons (S Z) (Cons (S (S Z)) []) : Vect (S (S Z)) Nat
|
|
Main> Error: When unifying Vect (S (S Z)) Nat and Vect (S Z) Nat.
|
|
Mismatch between: S Z and Z.
|
|
|
|
(interactive):1:28--1:51
|
|
1 | zipWith plus (Cons Z Nil) (Cons (S Z) (Cons Z Nil))
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Main> Bye for now!
|