On 2 February 2010 17:05, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
> On Feb 2, 2:46 am, ataggart <alex.tagg...@gmail.com> wrote:
>> On a related note, it is my sincere hope that we get a version of
>> require and use which no longer require (ha!) the use of quoted
>> parens.
>
> Absolutely not!  Having 'require' as an ordinary function (not a
> macro) is important for code-generating code.

That's not the only way to get rid of the quote, though.

Have a look at ataggart's recent post about :use, :require, etc.:
http://groups.google.com/group/clojure/browse_thread/thread/6fb6a2fc0d9b3957/1f09903346c3fd4a?q=#1f09903346c3fd4a

Compare:

user=> (ns foo.bar
(:require [clojure.contrib [duck-streams :only [reader writer]]]))
nil
foo.bar=>

or:

(ns foo.bar
  [:require [clojure.contrib [duck-streams :only [reader writer]]]])

with:

user=> (require [clojure.contrib [duck-streams :only [reader writer]]])
java.lang.ClassNotFoundException: clojure.contrib (NO_SOURCE_FILE:1)

-- 
Michael Wood <esiot...@gmail.com>

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

Reply via email to