bobbylisp/simple.hlm

4 lines
101 B
Plaintext

let succ = fn x = x + 1;
let add = fn a b = a + b;
let res = 10 |> succ |> fn a = add(a, 1) |> add;