On Saturday 29 November 2008 07:35, Stephen C. Gilardi wrote:
> On Nov 29, 2008, at 10:29 AM, Randall R Schulz wrote:
> > I'm somewhat confused by this, but I gather it has something to do
> > with "take" being lazy?
>
> The last note in the doc for macroexpand explains it:
>
> user=> (doc macroexpand)
> -------------------------
> clojure.core/macroexpand
> ([form])
>    Repeatedly calls macroexpand-1 on form until it no longer
>    represents a macro form, then returns it.  Note neither
>    macroexpand-1 nor macroexpand expand macros in subforms.
> nil
>
> In this first case, "for" is a subform.
>
> There's a nice description of going further here:
>
> http://groups.google.com/group/clojure/msg/28837d55525306d8

OK. So it's not the laziness of "take," but rather the nature of 
macroexpand.

Thanks for the reference. I'll review that post.


> --Steve


Randall Schulz

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

Reply via email to