4 ms·
Yes, but in this case, it's f: Stream<A> -> Stream<B> and g: Stream<B> -> T, and compose them into h: Stream<A> -> T. Would be nice to be able to write, for ex
by jiehong 4y ago
Yes, but in this case, it's f: Stream<A> -> Stream<B> and g: Stream<B> -> T, and compose them into h: Stream<A> -> T.
Would be nice to be able to write, for example:
T result = streamOfA().apply(f).apply(g);