Idris2/tests/idris2/basic001/expected
Giuseppe Lomurno 5e9837828a Implementations and errors
- Added initial implementations for terms and values
- Error messages converted to pretty printer
- Colorization for error messages
- Color and console width option both as command line and repl command
2020-08-18 19:25:36 +01:00

12 lines
353 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!