Hi Wesley,

It does seem useful to have combinators for SerializationFunction like you
would expect for any function. One limitation to making this really nice is
that we want to continue to be Java 7 compatible, so it is not possible to
add method bodies to the interface.

Kenn

On Wed, May 24, 2017 at 10:40 PM, Wesley Tanaka <wtan...@yahoo.com.invalid>
wrote:

> Does the Java API have a composition operator for SerializableFunction?
> It seems like these two compositions in particular might tend to pop up
> from time to time:
>
> myFunction(KV::getValue(x))
> myFunction(KV::getKey(x))
>
>
> If there isn't already one, would there be interest in a contribution of
> one, or is it too trivial?
>
> https://github.com/wtanaka/streaming/pull/86/files
>
>
>
>
> ---
> Wesley Tanaka
> https://wtanaka.com/

Reply via email to