mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
8 lines
157 B
Idris
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
|