mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
10 lines
169 B
Plaintext
10 lines
169 B
Plaintext
go (a, (b, (c, (d, e)))) = (+ (+ (+ (+ e d) c) b) a)
|
|
|
|
go2 (a, b, c, d, e) = (+ (+ (+ (+ e d) c) b) a)
|
|
|
|
|
|
main = (
|
|
(go (1, (2, (3, (4, 5))))),
|
|
(go2 (1, 2, 3, 4, 5))
|
|
)
|