No offense, but I don't really like the way the project at http://getclojure.org:8080/examples/ does it. The examples doesn't help, as they are no explanations, the results aren't shown and many of them are overly complicated.
On Thu, Jul 8, 2010 at 7:18 AM, Heinz N. Gies <he...@licenser.net> wrote: > > On Jul 7, 2010, at 21:05 , John Cromartie wrote: > >> I've whipped up a proof-of-concept of how to implement built-in >> examples for functions and macros. The general idea is to add an >> attribute to the var that contains a list of docstrings and arg lists >> or code that illustrate common usage. >> >> Let me know what you think: http://gist.github.com/466743 >> >> It could also be useful for generating documentation. > > > http://getclojure.org:8080/examples/concat is a nice way to get usage > examples for a function :) they are actually real life and extracted from the > #clojure channel logs. > > Regards, > Heinz > > -- > 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 -- Moritz Ulrich Programmer, Student, Almost normal Guy 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 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