Saturday, 24 November 2012

The M Word

4 comments:

  1. 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.

    ReplyDelete
  2. 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-monads

    As 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-refactoring

    I 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.clj

    There'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.

    ReplyDelete
  3. 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

    ReplyDelete
  4. Fantastic blog...
    this is
    http://beacracker.blogspot.com
    my blog.. see it and review me about it..
    its a programming related blog. programming in C/C++

    ReplyDelete

Note: only a member of this blog may post a comment.