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

7 lines
162 B
Plaintext
Raw Permalink Normal View History

2023-06-29 03:13:31 -05:00
let add = fun (x Int, y Int) Int -> x + y;
let succ = fun (x) -> x + 1;
2023-06-29 07:51:43 -05:00
let mul = fun (x, y) -> x * y;
2023-06-29 03:13:31 -05:00
add(33, 34)
2023-06-29 07:51:43 -05:00
|> fun (x) -> succ(x)
|> fun (x) -> mul(x, 10)