Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

  1. enumeration :: Show a => String -> [a] -> TextParser a

    polyparse Text.Parse.ByteString

    Parse one of the given nullary constructors (an enumeration). The string argument is the name of the type, and the list argument should contain all of the possible enumeration values.

  2. enumerate :: HasTrie a => (a :->: b) -> [(a, b)]

    MemoTrie Data.MemoTrie

    List the trie elements. Order of keys (:: a) is always the same.

  3. enumerateGeneric :: (Generic a, HasTrie (Reg a)) => ((a :->: b) -> Reg a :->: b) -> (a :->: b) -> [(a, b)]

    MemoTrie Data.MemoTrie

    Generic-friendly default for enumerate

  4. enumFromMutableN :: forall (arr :: Type -> Type) a m . (Contiguous arr, Element arr a, PrimMonad m, Enum a) => a -> Int -> m (Mutable arr (PrimState m) a)

    contiguous Data.Primitive.Contiguous

    Yield a mutable array of the given length containing the values x, succ x, succ (succ x) etc.

  5. enumFromN :: (Contiguous arr, Element arr a, Enum a) => a -> Int -> arr a

    contiguous Data.Primitive.Contiguous

    Yield an array of the given length containing the values x, succ x, succ (succ x) etc.

  6. enumDeriver :: Deriver

    domain Domain

    Derives Enum for enums or sums having no members in all variants. Requires to have the StandaloneDeriving compiler extension enabled.

  7. package enumset

    Sets of enumeration values represented by machine words With this package you can create a type safe interface to flag sets. It is intended for interfacing to C libraries via FFI, where Word8, Word16, or Word32 types are commonly used to store bit vectors. E.g. the type EnumSet Word16 Ordering represents a flag set stored in a Word16 that supports the flags LT, EQ, GT. This package is similar to the bitset package and the Data.Edison.Coll.EnumSet module in the edison package, however our implementation allows you to choose the embedding type and thus the maximum size of the set. See also data-flags and Data.EnumSet in enummapset.

  8. enumFrom' :: Expr -> Expr

    express Data.Express.Fixtures

    enumFrom lifted over Exprs.

    > enumFrom' zero
    enumFrom 0 :: [Int]
    
    Works for Ints, Bools and Chars.

  9. enumFromThen' :: Expr -> Expr -> Expr

    express Data.Express.Fixtures

    enumFromThen lifted over Exprs

    > enumFromThen' zero ten
    enumFromThen 0 10 :: [Int]
    

  10. enumFromThenTo' :: Expr -> Expr -> Expr -> Expr

    express Data.Express.Fixtures

    enumFromThenTo lifted over Exprs.

    > enumFromThenTo' zero two ten
    enumFromThenTo 0 2 10 :: [Int]
    

Page 58 of many | Previous | Next