Idris2/tests/idris2/error/perror016/ParseIf2.idr
2023-09-07 14:57:22 +01:00

6 lines
96 B
Idris

test : Int -> Int
test a = if a < 10
then if a < 0 the 0 else 5
else a