On Tue, Nov 22, 2011 at 3:14 PM, Sean Corfield <seancorfi...@gmail.com> wrote: > On Tue, Nov 22, 2011 at 3:13 PM, Sean Corfield <seancorfi...@gmail.com> wrote: >> On Tue, Nov 22, 2011 at 2:52 PM, Igor TN <igor...@gmail.com> wrote: >>> Is it possible to "require" or "use" a namespace as metadata inside >>> the function definition? Something like >> >> Your looking for the (require ..), (use ..) and (refer ..) functions - >> see http://clojuredocs.org for details and examples. > > Although I'm not sure what you mean by "as metadata" in a function? > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > World Singles, LLC. -- http://worldsingles.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > > -- > 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 > Note that posts from new members are moderated - please be patient with your > first post. > 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
require/use/import etc make global changes to a namespace(compilation environment), best not to hide that inside a function. -- And what is good, Phaedrus, And what is not good— Need we ask anyone to tell us these things? -- 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 Note that posts from new members are moderated - please be patient with your first post. 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