mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
6 lines
96 B
Idris
6 lines
96 B
Idris
|
|
test : Int -> Int
|
|
test a = if a < 10
|
|
then if a < 0 the 0 else 5
|
|
else a
|