Re:Monads and Intensionality – Lucid is not an aberration
by codebje on Wednesday August 05, 2020 @10:10PM
(#24067541)
Are you referring to the argument that Haskell's IO type is insufficiently granular to distinguish between something like erasing a disk and something like catching an async exception, or that the language's first-class feature set should be extended to things like async exceptions so they don't need to be part of "the rest of the universe" ?
[ Parent
| on HN ]
Re:Monads and Intensionality – Lucid is not an aberration
by lmm on Thursday August 06, 2020 @03:51AM
(#24068949)
I'm saying that if you think of IO as being a state monad then you will be surprised by the behaviour of async exceptions (and likely introduce bugs in your program). I'm not taking a view on what Haskell should do, just saying that it's something people using the current IO type need to be aware of.