Yes. Generally push lazy-seq as high in the chain as you can (but no
higher!), for that reason..

On Apr 3, 11:09 pm, Roman Sykora <4rt.f...@gmail.com> wrote:
> Thank you for your time and kind answers. I really enjoy reading this
> group and the whole clojure community. Enough flattery ;)
>
> A question remains though (for now).
>
> Would I use
>
> (lazy-seq
>   (some
>     (stuff ...)))
>
> instead of
>
> (some
>   (stuff
>     (lazy-seq ...)))
>
> because some stuff would only be realized/executed if one uses the
> resulting lazy-seq in the former case ?
>
> Sincerely
> Roman

-- 
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