mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-20 19:31:31 +03:00
a65d1efa38
This is probably quite rare to want, but we could consider putting this under a delayOnFailure
9 lines
150 B
Idris
9 lines
150 B
Idris
test3ok : Nat
|
|
test3ok = case (the Nat 1, 2) of
|
|
(x, y) => x + y
|
|
|
|
test3bad : Nat
|
|
test3bad = case (1, 2) of
|
|
(x, y) => x + y
|
|
|