Is it possible to do the Reader Monad from Haskell in Clojure?

前端 未结 2 1897
花落未央
花落未央 2021-01-05 09:10

I\'ve had a look at the algo.monads and fluokitten documentation. I\'ve also read through monad blog entries by Jim Duey, Konrad Hinsen and Leonardo Borges.

The onl

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-05 09:55

    There are some fantastic examples of the following monads in Clojure here:

    • the reader monad in clojure
    • the writer monad in clojure
    • the state monad in clojure
    • the identity monad in clojure
    • the maybe monad in clojure
    • the either monad in clojure

提交回复
热议问题