Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is Stream.join supposed to be lazy?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joel Shellman  
View profile  
 More options Feb 24 2012, 5:16 pm
From: Joel Shellman <j...@mentics.com>
Date: Fri, 24 Feb 2012 14:16:47 -0800
Local: Fri, Feb 24 2012 5:16 pm
Subject: Is Stream.join supposed to be lazy?
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Runar Bjarnason  
View profile  
 More options Feb 26 2012, 2:17 pm
From: Runar Bjarnason <runaror...@gmail.com>
Date: Sun, 26 Feb 2012 14:17:15 -0500
Local: Sun, Feb 26 2012 2:17 pm
Subject: Re: [functionaljava] Is Stream.join supposed to be lazy?
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.

Runar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »