top of page

Function composition

Functions can be composed using the operator such that (f ~ g) x = f (g x) 

 

> add2 = succ~succ

> add2 4

6

bottom of page