Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about F#'s Computation Expressions? Not exactly the same, I'm told, but they're close, if so.


They're called computation expressions in F# and not monads because they're not exclusively used to implement monads. The term is more generalised to capture the much larger scope of the feature.

Here's a breakdown of the difference:

http://tomasp.net/blog/2013/computation-zoo-padl/index.html


Excellent! Thank you!


I was kinda thinking of F#'s Computation Expressions when I posted my comment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: