Calculates the composition of two functions.
The outer function
The inner function
const f = Chalkboard.real.compose(Chalkboard.real.define((x) => x + 1), Chalkboard.real.define((x) => x * x));const y = Chalkboard.real.val(f, 3); // Returns 10 Copy
const f = Chalkboard.real.compose(Chalkboard.real.define((x) => x + 1), Chalkboard.real.define((x) => x * x));const y = Chalkboard.real.val(f, 3); // Returns 10
Calculates the composition of two functions.