Idris2/tests/idris2/linear004/expected

42 lines
1.1 KiB
Plaintext
Raw Normal View History

1/2: Building Stuff (Stuff.idr)
2/2: Building Erase (Erase.idr)
Main> S Z
Main> S (S Z)
Main> S Z
2020-06-11 23:46:36 +03:00
Main> (interactive):1:15--1:16:x is not accessible in this context at:
2020-07-22 22:16:43 +03:00
1 | efn (\x, y => x) -- Bad
^
Main> (interactive):1:5--1:9:When
unifying Nat -> Nat -> Nat and (0 _ : Nat) -> Nat -> Nat
Mismatch between:
2020-07-22 22:16:43 +03:00
Nat -> Nat -> Nat
and
2020-07-22 22:16:43 +03:00
(0 _ : Nat) -> Nat -> Nat
2020-06-11 23:46:36 +03:00
at:
2020-07-22 22:16:43 +03:00
1 | efn plus -- Bad
^^^^
Main> (interactive):1:5--1:8:When
unifying (1 _ : Nat) -> Nat -> Nat and (0 _ : Nat) -> Nat -> Nat
Mismatch between:
2020-07-22 22:16:43 +03:00
(1 _ : Nat) -> Nat -> Nat
and
2020-07-22 22:16:43 +03:00
(0 _ : Nat) -> Nat -> Nat
2020-06-11 23:46:36 +03:00
at:
2020-07-22 22:16:43 +03:00
1 | efn lin -- Bad
^^^
2020-06-13 17:51:05 +03:00
Main> (interactive):1:20--1:21:x is not accessible in this context at:
2020-07-22 22:16:43 +03:00
1 | efn (\x, y => plus x y) -- Bad
^
Main> S (S Z)
Main> S (S Z)
2020-07-22 22:16:43 +03:00
Main> (interactive):1:6--1:12:When
unifying (0 _ : Nat) -> Nat -> Nat and Nat -> Nat -> Nat
Mismatch between:
2020-07-22 22:16:43 +03:00
(0 _ : Nat) -> Nat -> Nat
and
2020-07-22 22:16:43 +03:00
Nat -> Nat -> Nat
2020-06-11 23:46:36 +03:00
at:
2020-07-22 22:16:43 +03:00
1 | okfn ignore -- Bad
^^^^^^
Main> Bye for now!