Sandy Maguire
Sandy Maguire
Yeah, might be. Perhaps it's worth adding an async helper to the library that deals with this --- rather than doing the whole `withRunInIO` dance. Would you be interested in...
Getting good error messages is really hard --- you'll notice that `Member (State a) '[State Int, Lift m]` is actually an insoluble constraint! Uh oh! This has lead to [some...
PS: [Detecting the Undetectable](https://kcsongor.github.io/report-stuck-families/) is a must-read on this topic, if you haven't already.
I spent a while hacking through this on `polysemy` -- a few things that might save you some headaches: * `Union` can be `O(1)` in memory if you pack a...
@patrickt did you look at the resulting core? ~My guess is you're running into [Trac #16473](https://gitlab.haskell.org/ghc/ghc/issues/16473). If you have an afternoon's worth of CPU time to spare, try running the...
@berberman AFAICT, the problem is that `runSession` explicitly asks the server to shut down when it's finished, which prevents users from working around this issue in application code
Ahh, that's a clever solution; I completely misunderstood your suggestion. Sorry about that. I'll investigate tomorrow morning!
I just spent a few minutes searching for `Data.Set.mapMaybe`. Please add it.
Add a comment?
An easy fix for this is to give the internal map the "proper" semigroup-lifting instance, expose it in module like `Data.Map.Semigroup`, and then implement today's behavior using the `First` semigroup...