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.

  1. enumMapToIntMap :: EnumMap k a -> IntMap a

    enummapset Data.EnumMap.Strict

    Unwrap IntMap.

  2. intMapToEnumMap :: IntMap a -> EnumMap k a

    enummapset Data.EnumMap.Strict

    Wrap IntMap.

  3. module Data.EnumSet

    No documentation available.

  4. data EnumSet k

    enummapset Data.EnumSet

    Wrapper for IntSet with Enum elements.

  5. enumSetToIntSet :: EnumSet k -> IntSet

    enummapset Data.EnumSet

    Unwrap IntSet.

  6. intSetToEnumSet :: IntSet -> EnumSet k

    enummapset Data.EnumSet

    Wrap IntSet.

  7. tagToEnum# :: Int# -> a

    ghc-internal GHC.Internal.Base

    No documentation available.

  8. getNumCapabilities :: IO Int

    ghc-internal GHC.Internal.Conc.Sync

    Returns the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. To change this value, use setNumCapabilities.

  9. getNumProcessors :: IO Int

    ghc-internal GHC.Internal.Conc.Sync

    Returns the number of CPUs that the machine has

  10. setNumCapabilities :: Int -> IO ()

    ghc-internal GHC.Internal.Conc.Sync

    Set the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. The number passed to forkOn is interpreted modulo this value. The initial value is given by the +RTS -N runtime flag. This is also the number of threads that will participate in parallel garbage collection. It is strongly recommended that the number of capabilities is not set larger than the number of physical processor cores, and it may often be beneficial to leave one or more cores free to avoid contention with other processes in the machine.

Page 244 of many | Previous | Next