Correct. It seems that we are agreeing that we agree :-)

2009/3/3 Meikel Brandmeyer <m...@kotka.de>

> Hi Laurent,
>
> Am 03.03.2009 um 17:03 schrieb Laurent PETIT:
>
>  Why should there ever be the need to call dorun?
>>>
>>
>>
>> If you still want to force a veeerry long seq for side effect, without
>> fearing to face an OutOfMemory error ?
>>
>
>  (let [some-loooong-seq ....]
>    (dorun some-loooong-seq)
>    ...)
>
> How does dorun help here? In such a scenario
> dorun only helps, if you don't hold onto the head.
> But that means you loose the seq immediately
> without using the return value at all. So you made
> the seq purely for side-effects. And at that point
> I boldly claim you should have used doseq in the
> first place....
>
> Sincerely
> Meikel
>
>

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