F#: Is there a way to extend the monad keyword list?

前端 未结 2 1322
逝去的感伤
逝去的感伤 2021-01-30 14:11

Inside an F# monad, if you say let!, the compiler translates that to a Bind member that you\'ve defined on the monad builder.

Now I see there a

2条回答
  •  失恋的感觉
    2021-01-30 14:29

    Short answer: no.

    I've extended the compiler to support that, you're welcome to read my blog article http://ramon.org.il/wp/2011/04/taking-computation-expressions-one-step-further/

提交回复
热议问题