Idris2/tests/idris2/perror016/ParseIf.idr

4 lines
51 B
Idris
Raw Normal View History

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