(let compose (fun (_f _g) (...)))
Compose function calls
Author: @rstefanic
_f: the first function_g: the second function(let foo (fun (a) (* a a)))
(let bar (fun (b) (+ b b)))
(let composed (compose foo bar))
(print (composed 12)) # return value is (12 + 12) * (12 + 12)
(let left (fun (_x) (...)))
Take a value as its argument and return a function taking 2 arguments which will call the first function on the value