Elliot Cameron
Elliot Cameron
So are saying that somewhere `mask` is getting started but never stopped?
Ah you may be right. Is there a reason not to use `async` instead of calling `forkIO` directly. `asncy` is specially designed to handle async exceptions correctly.
This would be very handy!
You could encode this as a separate type class.
This is exactly what I had in mind (and implemented in one of my projects). It works great.
No I didn't get that far. But I'm on the fence about it anyway. I like things like that to be explicit, but certainly for toy projects it's nicer.
I presume ghcid works in that setting?
Perhaps it makes sense to expose the old version as `fromListInterleaved` or similar.
Perhaps it makes sense then to simply describe where `fromList` is less ideal performance wise and show the better performing version in the docs for that use case.