Compose two Functions f and g where f emits a Maybe!B and g takes a B.
auto c = RealFunction!(collatz!int).get; auto lc = c.maybeCompose(c).maybeCompose(c); auto rc = c.maybeCompose(c.maybeCompose(c)); foreach (i; 0..10) assert (lc(i).maybeEqual(rc(i)));
See Implementation
Compose two Functions f and g where f emits a Maybe!B and g takes a B.