mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +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
|