I'm not sure why you'd want to do that. As far as I know, you can't scope uses or imports. (let [foo nil] (use 'c.c.duck-streams)) wouldn't keep the use'd stuff inside the let.
On Wed, Jun 9, 2010 at 10:40 PM, Laurent PETIT <[email protected]> wrote: > Hello, > > for seqable? to be recognized by the reader, the use call should have > been evaluated. > But being part of the same compilation block as seqable, use is read, > but not yet executed. > > HTH, > > -- > Laurent > > 2010/6/9 lance bradley <[email protected]>: >> hello all- >> It appears that 'use' functions are ignored within a let. The same is >> true of refer, but require works fine. >> Is this intended, or a bug? >> >> (let [] (use 'clojure.contrib.core) (seqable? [:a :b])) >> java.lang.Exception: Unable to resolve symbol: seqable? in this >> context (NO_SOURCE_FILE:6) >> >> thanks! >> -lance >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with your >> first post. >> 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 > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > 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 -- Moritz Ulrich http://www.google.com/profiles/ulrich.moritz -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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
