Monads with Java 8

前端 未结 9 1053
礼貌的吻别
礼貌的吻别 2020-12-07 07:29

In the interests of helping to understand what a monad is, can someone provide an example using java ? Are they possible ?

Lambda expressions are possible using java

9条回答
  •  既然无缘
    2020-12-07 08:15

    the only way to understand monads is by writing a bunch of combinator libraries, noticing the resulting duplication, and then discovering for yourself that monads let you factor out this duplication. In discovering this, everyone builds some intuition for what a monad is… but this intuition isn’t the sort of thing that you can communicate to someone else directly – it seems everyone has to go through the same experience of generalizing to monads from some concrete examples of combinator libraries. however

    here i found some materials to learn Mondas.

    hope to be useful for you too.

    codecommit

    james-iry.blogspot

    debasishg.blogspot

提交回复
热议问题