This blog has moved to http://martintrojer.github.com
Most tutorials focus on "what are monads?" I like how this blog post just gives a whirlwind tour of the most important monads and how to use them. Would love to see a version of this that demonstrates the use of clojure.algo.monads to achieve the same effects, possibly with a sentence or two of explanation before each example.
Martin, this is great stuff! I was wondering if you are aware of Jim Duey's Clojure library "protocol-monads"?https://github.com/jduey/protocol-monadsAs the name suggests, it's an attempt to define monads via Clojure's "protocols", in conjunction with "extend-type" and "deftype". A few weeks ago, I dove head-first into learning monads and have put a good deal of work into a fork of Jim's library. My most current work is on this branch:https://github.com/michaelsbradleyjr/protocol-monads/tree/return-and-factory-refactoringI also did a rough port of the examples from "algo.monads":https://github.com/michaelsbradleyjr/protocol-monads/blob/return-and-factory-refactoring/src/monads/examples.cljThere's still a lot to be done -- I consider my fork somewhere between "alpha" and "beta" quality for general purpose use. But I'm already leveraging it in some work projects to good effect.
The site was absolutely fantastic! Lots of great information and inspiration, both of which we all need!b Keep 'em coming... you all do such a great job at such Concepts... can't tell you how much I, for one appreciate all you do!James McCarthy - SEO Company India,Software Companies,Software Company
Fantastic blog...this is http://beacracker.blogspot.commy blog.. see it and review me about it..its a programming related blog. programming in C/C++
Note: only a member of this blog may post a comment.