Functional java combinators implementations