> On Sat, Jul 16, 2011 at 2:23 AM, Tuba Lambanog <tuba.lamba...@gmail.com> 
> wrote:
>> More examples in how to use a form in the (doc ...) facility within
>> REPL would be very useful to newbies. Thanks.
> 
> That would mean the docstrings need to provide more detail in the
> source code. Not sure how practical that is since the docstrings would
> substantially outweigh the code - maybe Clojure/core could comment?

I wouldn't use docstrings for this, as they increase runtime footprint.

That said, an alternate doc macro could look other places besides docstrings. 
It shouldn't be difficult to write an examples macro that calls out to e.g. 
clojuredocs.org.

Stu


Stuart Halloway
Clojure/core
http://clojure.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