Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
shakeThreads :: ShakeOptions -> Intshake Development.Shake Defaults to 1. Maximum number of rules to run in parallel, similar to make --jobs=N. For many build systems, a number equal to or slightly less than the number of physical processors works well. Use 0 to match the detected number of processors (when 0, getShakeOptions will return the number of threads used).
trackRead :: [FilePath] -> Action ()shake Development.Shake Track that a file was read by the action preceding it. If shakeLint is activated then these files must be dependencies of this rule. Calls to trackRead are automatically inserted in LintFSATrace mode.
unsafeExtraThread :: Action a -> Action ashake Development.Shake Run an action without counting to the thread limit, typically used for actions that execute on remote machines using barely any local CPU resources. Unsafe as it allows the shakeThreads limit to be exceeded. You cannot depend on a rule (e.g. need) while the extra thread is executing. If the rule blocks (e.g. calls withResource) then the extra thread may be used by some other action. Only really suitable for calling cmd / command.
-
shake Development.Shake.Command Reading from a file
lintTrackRead :: ShakeValue key => [key] -> Action ()shake Development.Shake.Rule Track that a key has been used/read by the action preceding it when shakeLint is active.
tryReadTBChan :: TBChan a -> STM (Maybe a)stm-chans Control.Concurrent.STM.TBChan A version of readTBChan which does not retry. Instead it returns Nothing if no value is available.
tryReadTBMChan :: TBMChan a -> STM (Maybe (Maybe a))stm-chans Control.Concurrent.STM.TBMChan A version of readTBMChan which does not retry. Instead it returns Just Nothing if the channel is open but no value is available; it still returns Nothing if the channel is closed and empty.
tryReadTBMQueue :: TBMQueue a -> STM (Maybe (Maybe a))stm-chans Control.Concurrent.STM.TBMQueue A version of readTBMQueue which does not retry. Instead it returns Just Nothing if the queue is open but no value is available; it still returns Nothing if the queue is closed and empty.
tryReadTMChan :: TMChan a -> STM (Maybe (Maybe a))stm-chans Control.Concurrent.STM.TMChan A version of readTMChan which does not retry. Instead it returns Just Nothing if the channel is open but no value is available; it still returns Nothing if the channel is closed and empty.
tryReadTMQueue :: TMQueue a -> STM (Maybe (Maybe a))stm-chans Control.Concurrent.STM.TMQueue A version of readTMQueue which does not retry. Instead it returns Just Nothing if the queue is open but no value is available; it still returns Nothing if the queue is closed and empty.