Idris2-boot/tests/idris2/linear004/expected
2019-06-27 19:28:14 +01:00

27 lines
857 B
Plaintext

1/2: Building Stuff (Stuff.idr)
2/2: Building Erase (Erase.idr)
Welcome to Idris 2 version 0.0. 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!