From 9da4feb106126940264dd27925ea3c19b04aac20 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 30 Dec 2020 12:24:47 -0500 Subject: bild: build everyting Now bild knows how to determine between modules that require ghcjs and ghc. It also knows what *not* to build, meaning it won't try to build non-buildable nix targets, for example (unfortunately this is just hardcoded for now), but it also won't build scm or py targets that I haven't implemented yet. It just silently fails, which is fine, because it means I can do `bild **/*` and everything just works. Of course, if I want to build scm code then I will have to implement that, but that's not a priority right now. --- Control/Concurrent/Sema.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Control') diff --git a/Control/Concurrent/Sema.hs b/Control/Concurrent/Sema.hs index c105cf8..202aa65 100644 --- a/Control/Concurrent/Sema.hs +++ b/Control/Concurrent/Sema.hs @@ -1,8 +1,11 @@ +-- : dep SafeSemaphore module Control.Concurrent.Sema ( mapPool, ) where +import Alpha +import Control.Concurrent.Async (mapConcurrently) import qualified Control.Concurrent.MSem as Sem -- | Simaphore-based throttled 'mapConcurrently'. -- cgit v1.2.3