On Jan 14, 1:12 am, Timothy Pratley <[email protected]> wrote:
> I've written small wiki article which dives right into the look and
> meaning of common Clojure constructs with examples. Personally I find
> I learn best by examples and when starting out they were hard to find,
> whereas formal descriptions were there but rather cryptic when you
> don't understand the context. My intention is to provide an initial
> understanding of how programs look, what they mean, and what can be
> accomplished because of their features... from which someone would
> then move to one of the more complete articles and references.
>
> http://en.wikibooks.org/wiki/Clojure_Programming/By_Example
>
> I hope someone finds it useful :)
That's really good, Tim. I hope you continue with it :) AFAIC, just
about every function in core, set, zip and xml needs to be documented
by example. I'm just not smart enough to read the API docs of a lot
of functions and understand how to use them.
Some efficiency could be gained by demonstrating several functions at
once, clearly labeling them. An example without much thought:
(Heading) map, range
(map sqr (range 1 10 2)) ; after defining sqr
Cheers,
Gavin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---