On Dec 1, 7:48 pm, mehrheit <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008 08:37:22 -0800 (PST) > > ivant <[EMAIL PROTECTED]> wrote: > > >You are generally right about this, but not in this case. This macro > >*explicitly* captures the variable "gl". It is actually used in the > >body and is expected to be bound to the result of glBegin. > > Could you elaborate? I'm not sure how is `gl' expected to be bound to > the result of glBegin, since the latter doesn't even return anything.
My bad. As I said I don't know OpenGL and I misread the macro's intention as creating a GL, doing some stuff to it, and closing it. So, you are right, that gl should be evaluated just once in this context and maybe the with-* name suggestion isn't that good either. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---