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