What is a monad?

前端 未结 30 1575
太阳男子
太阳男子 2020-11-30 13:39

Having briefly looked at Haskell recently, what would be a brief, succinct, practical explanation as to what a monad essentially is?

I have found most expla

30条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 14:02

    If I've understood correctly, IEnumerable is derived from monads. I wonder if that might be an interesting angle of approach for those of us from the C# world?

    For what it's worth, here are some links to tutorials that helped me (and no, I still haven't understood what monads are).

    • http://osteele.com/archives/2007/12/overloading-semicolon
    • http://spbhug.folding-maps.org/wiki/MonadsEn
    • http://www.loria.fr/~kow/monads/

提交回复
热议问题