You could use doseq?

Now, if you want eager evalation *and* a result seq, I think you're
stuck with (doall (for ...)) or (doall (map ...)).

-Jason

On Feb 24, 9:49 am, Mark Volkmann <r.mark.volkm...@gmail.com> wrote:
> It seems that, at least in demo code that I write, I frequently call
> dorun on the lazy sequence returned by map to force side effects such
> as calls to println. I know I could write my own function that
> combines those, but does such a thing already exist? I don't want to
> reinvent the wheel or use a different name for existing functionality.
> Maybe domap would be a good name.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
--~--~---------~--~----~------------~-------~--~----~
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