Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. alphaNumChar :: (MonadParsec e s m, Token s ~ Char) => m (Token s)

    megaparsec Text.Megaparsec.Char

    Parse an alphabetic or numeric digit Unicode characters. Note that the numeric digits outside the ASCII range are parsed by this parser but not by digitChar. Such digits may be part of identifiers but are not used by the printer and reader to represent numbers.

  2. toEnumDef :: (Enum a, Bounded a) => a -> Int -> a

    safe Safe

    No documentation available.

  3. toEnumMay :: (Enum a, Bounded a) => Int -> Maybe a

    safe Safe

    No documentation available.

  4. toEnumNote :: (Partial, Enum a, Bounded a) => String -> Int -> a

    safe Safe

    No documentation available.

  5. toEnumSafe :: (Enum a, Bounded a) => Int -> a

    safe Safe

    No documentation available.

  6. withNumCapabilities :: Int -> IO a -> IO a

    extra 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.

  7. enumerate :: (Enum a, Bounded a) => [a]

    extra Data.List.Extra

    Enumerate all the values of an Enum, from minBound to maxBound.

    enumerate == [False, True]
    

  8. enumerate :: (Enum a, Bounded a) => [a]

    extra Extra

    Enumerate all the values of an Enum, from minBound to maxBound.

    enumerate == [False, True]
    

  9. withNumCapabilities :: Int -> IO a -> IO a

    extra 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.

  10. module Data.Ix.Enum

    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
    

Page 155 of many | Previous | Next