mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
17 lines
206 B
Plaintext
17 lines
206 B
Plaintext
main =
|
|
let cond1 = (== 1 2)
|
|
let cond2 = (< 2 1)
|
|
let cond3 = (> 3 2)
|
|
let cond4 = (== 2 2)
|
|
if cond1 {
|
|
1
|
|
} elif cond2 {
|
|
2
|
|
} elif cond3 {
|
|
3
|
|
} elif cond4 {
|
|
4
|
|
} else {
|
|
0
|
|
}
|