Thank you, gents. Both answers were simple and worked. I'm going with the
interleave solution as it enables me to compose different streams I have
without tweaking the implementations of each of them separately.

Thanks again,
Alex

On Wed, Nov 2, 2011 at 1:31 AM, Benny Tsai <benny.t...@gmail.com> wrote:

> Untested, since I don't have JodaTime installed, but something like this
> maybe?
>
> (defn day-of-week-stream [& day-nums]
>   (filter #((set day-nums) (.. % dayOfWeek get)) (today+all-future-dates)))
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to