On Mon, Nov 17, 2008 at 9:01 PM, Adam Jones <[EMAIL PROTECTED]> wrote: > > I'm in the middle of writing some code to extract sql results, which > means I'm doing a *lot* of forcing right now. It's almost enough for > me to wish there was a convention (and provided definitions) for > denoting lazy/strict versions of functions. (e.g. (map f ...) is a > lazy seq, (map! f ...) is strict)
(vec x) will force a lazy seq x and store it in a vector. (apply list x) will force and store in a list. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---