Mitchell Dalvi Rosen
Mitchell Dalvi Rosen
If `replicate`+`singleton` has the same performance characteristics, that's great. `replicateChar` just looked like it was accidentally unexported, because it has a properly formatted haddock.
Sounds good, thanks!
If there was a freeze file checked into this repo, that would effectively achieve the same result. Just to clarify - by "you" do you mean "you, Mitchell", or "one"?
@michaelpj Thanks, that's what I started to do, but then I got a little bit stuck and scared due to the requirement to use a different version of HLS for...
> I mean you Mitchell. We cannot use a single freeze file since we want to support a range of ghc versions, and libraries like ghc-lib, ghc-exactprint or retrie are...
Interesting use case. Currently, there's no way for a scope to count all of the threads created within it (transitively) - we only have the direct children. Does that limit...
(Ah, yeah, STM Int - my bad). A Scope could keep track of its children, but it would require a little extra coordination/contention (e.g. a global mapping from ThreadId to...
@dcoutts Is `QSem` not suitable here? It does have FIFO semantics. Small race conditions aside, `mapConcurrently jobs` would roughly acquire the semaphore in `jobs`-order.
@dcoutts Ah, that's what I meant by "small race conditions aside". Since `mapConcurrently` and friends at least call `forkIO` in container-order, then they should roughly grab the semaphore in order...
Wow, `Buildable` is a great type!