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