Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Monday 05 August 2002 Mango Library

Implemented function composition -
If f and g are UnaryFunctions, then Adapt.Compose(UnaryFunction f, UnaryFunction g) creates a new function h, where h(x) is equal to f(g(x)).

If f is a BinaryFunction and g1 and g2 are UnaryFunctions, then Adapt.Compose(BinaryFunction f, UnaryFunction g1, UnaryFunction g2) returns a new BinaryFunction h such that h(x, y) is equal to f(g1(x), g2(y)).


Tagged code, mango, java, ranges, iterators, and fp


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About