Idris2/tests/idris2/error/error017/Issue962-case.idr
2023-09-07 14:57:22 +01:00

5 lines
68 B
Idris

test : Nat -> Int
test n =
let c = if n == Z then 0 else 1
in c