Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
toEnumDef :: (Enum a, Bounded a) => a -> Int -> asafe Safe No documentation available.
toEnumMay :: (Enum a, Bounded a) => Int -> Maybe asafe Safe No documentation available.
toEnumNote :: (Partial, Enum a, Bounded a) => String -> Int -> asafe Safe No documentation available.
toEnumSafe :: (Enum a, Bounded a) => Int -> asafe Safe No documentation available.
withNumCapabilities :: Int -> IO a -> IO aextra Control.Concurrent.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.
enumerate :: (Enum a, Bounded a) => [a]extra Data.List.Extra Enumerate all the values of an Enum, from minBound to maxBound.
enumerate == [False, True]
enumerate :: (Enum a, Bounded a) => [a]extra Extra Enumerate all the values of an Enum, from minBound to maxBound.
enumerate == [False, True]
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.