Idris2/tests/idris2/basic001/expected
Tim Engler 7baf698f66
Made unifying error msg nicer. (#1922)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-09-15 11:57:50 +01:00

14 lines
357 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!