Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lptk
· 4y ago · 0 comments
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.
Comments
[–]
skavi
4y ago
It could fail.