The problem here is that Semigroup is strict in both of its arguments, so the current implementation of Stream.join is incorrect. It should really be implemented as an unfold. If you want to tackle it, go ahead and make a pull request.
On Fri, Feb 24, 2012 at 5:16 PM, Joel Shellman <j...@mentics.com> wrote: > I'm using it and it appears that it's evaluating the Streams when I > call join. I need a lazy flattening of Streams. Is there something > that does this, or should I write my own?
> -- > You received this message because you are subscribed to the Google Groups "Functional Java" group. > To post to this group, send email to firstname.lastname@example.org. > To unsubscribe from this group, send email to email@example.com. > For more options, visit this group at http://groups.google.com/group/functionaljava?hl=en.