mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-21 03:41:30 +03:00
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
|
||
|
|