mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
5 lines
80 B
Plaintext
5 lines
80 B
Plaintext
main = @a @b @c @d switch a {
|
|
0: (+ (+ b c) d);
|
|
_: (+ (+ (+ a-1 b) c) d);
|
|
}
|