example's of API isn't the same as real, known, problems and how to solve them in clojure. Like my merge sort problem before. I think the last post there of the loop/recur and how it's better than the with-local-vars version . . .and what leaking is about how it's not really recursion is all good stuff. That was the culmination of my first lesson. That and how merge used conditionals . . .and maybe a few other merge implementations ...
It's a great idea to take CS beginner problems that most have seen and can understand . . .and transform to clojure. Next I want to do quicksort, but not the cheasy way they show in Haskell intros where the partition isn't in place. I wanna know what the persistent analog is to doing that right. I saw the Haskell one and it was NUTS!!!!!!. The guy has real dedication. check it out: http://augustss.blogspot.com/2007/08/quicksort-in-haskell-quicksort-is.html On Wed, Jan 14, 2009 at 5:11 PM, Mark Volkmann <r.mark.volkm...@gmail.com>wrote: > > On Tue, Jan 13, 2009 at 8:12 PM, GS <gsincl...@gmail.com> wrote: > > > > On Jan 14, 1:12 am, Timothy Pratley <timothyprat...@gmail.com> 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. > > Someone already started working on documenting every function with an > example. See > http://en.wikibooks.org/wiki/Clojure_Programming/Examples/API_Examples. > > -- > R. Mark Volkmann > Object Computing, Inc. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---