1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/example/simple.hlm
2023-07-02 16:51:18 +07:00

7 lines
172 B
Plaintext

let add = fun (x Int, y Int) Int -> x + y;
let succ = fun (x) -> x + 1;
let mul = fun (x, y) -> x * y;
add(33, 35)
|> fun (x) -> succ(x)
|> fun (x) -> mul(x, 10)