On Sun, Feb 20, 2011 at 12:45 PM, Daniel Solano Gomez
<cloj...@sattvik.com> wrote:
> On Sun Feb 20 17:30 2011, Paul Richards wrote:
>> I've been trying to add docstrings to my constants that are defined
>> using 'def'.  According to the webpage[1] I should be able to write:
>>
>> (def pi "hello" 3.14)
>>
>> But this fails with:
>> java.lang.Exception: Too many arguments to def (NO_SOURCE_FILE:1)
>>
>> This is with Clojure 1.2.0.
>
> As far as I can tell, the fix is not actually in 1.2.0.

Then why is it documented on the page

http://clojure.org/special_forms

among documentation which otherwise seems to refer to 1.2 and not 1.3?

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