Hacker News new | ask | show | jobs
by lptk 1466 days ago
Here the `Allocate` effect is just a syntactically-lightweight way of doing dependency injection, right? Similar to a Haskell type class. I don't see why you'd need to make it an algebraic effect, as it does not need to mess with control flow AFAIK.
1 comments

It could fail.