Idris2/tests/idris2/basic/basic017/CaseInf.idr
2023-09-07 14:57:22 +01:00

8 lines
157 B
Idris

test3ok : Nat
test3ok = case (the Nat 1, the Nat 2) of
(x, y) => x + y
test3ok' : Nat
test3ok' = case (1, 2) of
(x, y) => x + y