Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. buildEnumText :: EnumText e => e -> Builder

    columnar Text.Columnar

    Sames as renderEnumText, but generating a Builder.

  2. configEnumText :: EnumText e => e -> EnumTextConfig

    columnar Text.Columnar

    Configures the textual representation of e generated by renderEnumText.

  3. defaultEnumTextConfig :: EnumTextConfig

    columnar Text.Columnar

    The default configEnumText for EnumText:

  4. fromFieldEnumText_ :: (EnumText e, MonadFail m) => ByteString -> m e

    columnar Text.Columnar

    A cassava field parser using the renderEnumText format.

  5. hashWithSaltEnumText :: EnumText e => Int -> e -> Int

    columnar Text.Columnar

    For hashing e with the renderEnumText representation.

  6. parseEnumText :: EnumText e => Text -> Possibly e

    columnar Text.Columnar

    Parses an e according to the renderEnumText render.

  7. renderEnumText :: EnumText e => e -> Text

    columnar Text.Columnar

    Generate the standard textual representation according to configEnumText by default.

  8. toFieldEnumText :: EnumText e => e -> ByteString

    columnar Text.Columnar

    A cassava field encoder, using 'the renderEnumText' format.

  9. class Enum a

    constrained-categories Control.Category.Constrained.Prelude

    Class Enum defines operations on sequentially ordered types. The enumFrom... methods are used in Haskell's translation of arithmetic sequences. Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details. For any type that is an instance of class Bounded as well as Enum, the following should hold:

    enumFrom     x   = enumFromTo     x maxBound
    enumFromThen x y = enumFromThenTo x y bound
    where
    bound | fromEnum y >= fromEnum x = maxBound
    | otherwise                = minBound
    

  10. enumFrom :: Enum a => a -> [a]

    constrained-categories Control.Category.Constrained.Prelude

    Used in Haskell's translation of [n..] with [n..] = enumFrom n, a possible implementation being enumFrom n = n : enumFrom (succ n).

    Examples

    • enumFrom 4 :: [Integer] = [4,5,6,7,...]
    • enumFrom 6 :: [Int] = [6,7,8,9,...,maxBound ::
      Int]

Page 557 of many | Previous | Next