Note also that in the REPL the last three values returned are kept
available under *1, *2 and *3.

M.


On 2 May 2012 15:40, Allen Johnson <akjohnso...@gmail.com> wrote:
> My example included a use of `map`. It is lazy and will work but you
> have to be sure that you aren't using it in a way that would hold onto
> the head of the sequence.
>
> When experimenting in a repl it might not seem that it is lazy since
> the repl will attempt to print the result of calling map when that is
> the only expression.
>
> AJ
>
> On Wed, May 2, 2012 at 4:06 AM, Baishampayan Ghose <b.gh...@gmail.com> wrote:
>> On Wed, May 2, 2012 at 12:01 PM, Sean Neilan <s...@seanneilan.com> wrote:
>>> I don't think so.
>>
>> Of course it is. The problem is not in laziness, but in holding on to the 
>> head.
>>
>> Regards,
>> BG
>>
>> --
>> Baishampayan Ghose
>> b.ghose at gmail.com
>>
>> --
>> 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

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