Idris2-boot/tests/idris2/linear004/expected
Arnaud Bailly 558776c4c4
remove version number from banner at REPL startup
otherwise all tests will need to change every time version changes...
2019-08-29 14:37:04 +02:00

27 lines
845 B
Plaintext

1/2: Building Stuff (Stuff.idr)
2/2: Building Erase (Erase.idr)
Welcome to Idris 2. Enjoy yourself!
Main> S Z
Main> S (S Z)
Main> S Z
Main> (interactive):1:15--1:16:Trying to use irrelevant name x in relevant context
Main> (interactive):1:5--1:31:When unifying Nat -> Nat -> Nat and (0 x : Nat) -> Nat -> Nat
Mismatch between:
Nat -> Nat -> Nat
and
(0 x : Nat) -> Nat -> Nat
Main> (interactive):1:5--1:31:When unifying (1 x : Nat) -> Nat -> Nat and (0 x : Nat) -> Nat -> Nat
Mismatch between:
(1 x : Nat) -> Nat -> Nat
and
(0 x : Nat) -> Nat -> Nat
Main> (interactive):1:20--1:22:Trying to use irrelevant name x in non-linear context
Main> S (S Z)
Main> S (S Z)
Main> (interactive):1:6--1:31:When unifying (0 x : Nat) -> Nat -> Nat and Nat -> Nat -> Nat
Mismatch between:
(0 x : Nat) -> Nat -> Nat
and
Nat -> Nat -> Nat
Main> Bye for now!