Functional Bonding
Syntax
f & a
a & fExplanation
f & a == *args -> f(*(args + [a]))
a & f == *args -> f(*([a] + args))Examples
let mod10 = (%) & 10;
mod(15) == 5let reciprocal = 1 & (/);
reciprocal(1 / 3) == 3Last updated
Was this helpful?