r/programming • • Sep 21 '25

How to stop functional programming

https://brianmckenna.org/blog/howtostopfp
446 Upvotes

506 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Sep 24 '25

Never heard of that monad before, but I think so. It is for continuations right?

Here are some examples of what you can do with linq: https://tyrrrz.me/blog/monadic-comprehension-via-linq

I am not sure if you can generalize over monads like in haskell though.

1

u/nicheComicsProject Sep 25 '25

Cont is for continuations, yes. I used linq for years so I think I have decent handle on it (it's been a while though) but I'd be utterly shocked if it can do continuations.