摘要: In this fourth and last part of my monad tutorial, I will write about monad transformers. I will deal with only one of them, but it’s a start. I will ... 阅读全文
posted @ 2014-11-21 11:20 javamoon 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Before moving on to the more advanced aspects of monads, let’s recapitulate what defines a monad (seepart 1andpart 2for explanations):A data structure... 阅读全文
posted @ 2014-11-21 11:19 javamoon 阅读(127) 评论(0) 推荐(0) 编辑
摘要: In thefirst partof this tutorial, I have introduced the two most basic monads: the identity monad and the maybe monad. In this part, I will continue w... 阅读全文
posted @ 2014-11-21 11:17 javamoon 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Monads in functional programming are most often associated with theHaskell language, where they play a central role in I/O and have foundnumerous othe... 阅读全文
posted @ 2014-11-21 11:15 javamoon 阅读(341) 评论(0) 推荐(0) 编辑