Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
withNumCapabilities :: Int -> IO a -> IO aextra Extra On GHC 7.6 and above with the -threaded flag, brackets a call to setNumCapabilities. On lower versions (which lack setNumCapabilities) this function just runs the argument action.
-
Implementations of Ix methods in terms of Enum methods. For a type T of class Enum you can easily define an Ix instance by copying the following code into your module:
import qualified Data.Ix.Enum as IxEnum instance Ix T where range = IxEnum.range index = IxEnum.index inRange = IxEnum.inRange rangeSize = IxEnum.rangeSize unsafeIndex = IxEnum.unsafeIndex unsafeRangeSize = IxEnum.unsafeRangeSize
managerSetMaxNumberHeaders :: Int -> ManagerSettings -> ManagerSettingshttp-conduit Network.HTTP.Client.Conduit No documentation available.
-
yaml Data.Yaml.Internal No documentation available.
COptONumber :: String -> WarnLang -> CheckExplanationCabal Distribution.PackageDescription.Check No documentation available.
choiceOptFromEnum :: (Bounded b, Enum b, Show b, Eq b) => MkOptDescr (a -> b) (b -> a -> a) aCabal Distribution.Simple.Command create a Choice option out of an enumeration type. As long flags, the Show output is used. As short flags, the first character which does not conflict with a previous one is used.
ghcOptNumJobs :: GhcOptions -> Flag ParStratCabal Distribution.Simple.Program.GHC Run N jobs simultaneously (if possible).
buildNumJobs :: BuildFlags -> Flag (Maybe Int)Cabal Distribution.Simple.Setup No documentation available.
globalNumericVersion :: GlobalFlags -> Flag BoolCabal Distribution.Simple.Setup No documentation available.
dateToSnapshotNumber :: UTCTime -> IntCabal Distribution.Simple.SrcDist Given a date produce a corresponding integer representation. For example given a date 18032008 produce the number 20080318.