2 ms·
Discussions like this are always helpful for people with more experience in dynamic languages. My first experiences with Monads, like the one in LYAHFGG[0], lef
by hoprocker 9y ago
Discussions like this are always helpful for people with more experience in dynamic languages. My first experiences with Monads, like the one in LYAHFGG[0], left me with the sense that Monads were a tool primarily used in statically-typed languages. After much searching, I stumbled across Tom Stuart's _Refactoring Ruby With Monads_[1] talk, which helped describe Monads as just another useful programming abstraction independent of the language. (Jim Duey's _Monads in Clojure_[2] also helped.) Monads now make sense to me as a general-purpose programming paradigm, like recursion or immutable data structures.
[0] http://learnyouahaskell.com/a-fistful-of-monads http://learnyouahaskell.com/a-fistful-of-monads
[1] http://codon.com/refactoring-ruby-with-monads http://codon.com/refactoring-ruby-with-monads
[2] http://www.clojure.net/2012/02/02/Monads-in-Clojure/ http://www.clojure.net/2012/02/02/Monads-in-Clojure/
- moocowtruck 9y agonot sure if you've seen this clojure lib http://funcool.github.io/cats/latest/ http://funcool.github.io/cats/latest/