mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
5 lines
68 B
Idris
5 lines
68 B
Idris
|
test : Nat -> Int
|
||
|
test n =
|
||
|
let c = if n == Z then 0 else 1
|
||
|
in c
|