Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. enumerate :: TSet c -> [[c]]

    trie-simple Data.Trie.Set

    List of all elements.

  2. enumFromN :: (Num a, Unboxable a) => a -> Int -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  3. enumFromStepN :: (Num a, Unboxable a) => a -> a -> Int -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  4. enumFromThenTo :: (Enum a, Unboxable a) => a -> a -> a -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  5. enumFromTo :: (Enum a, Unboxable a) => a -> a -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  6. enumOf :: Eq k => Text -> [(Text, k)] -> UnjsonDef k

    unjson Data.Unjson

    Provide sum type support for parameterless constructors. For related functionality see disjointUnionOf. Example:

    data X = A | B
    
    unjsonX = enumOf "type_thing"
    [("a_thing", A),
    ("b_thing", B)]
    

  7. enumUnjsonDef :: (Eq a, Typeable a, Enum a, Bounded a, Data a) => UnjsonDef a

    unjson Data.Unjson

    Automatic sum type conversion with parameterless constructors. Basically an automatic version of enumOf. Example:

    data X = A | B deriving (Eq, Data, Enum, Bounded)
    
    instance Unjson X where unjsonDef = enumUnjsonDef
    

  8. enumContent :: [(Text, a)] -> Content a

    xml-parser XmlParser

    Map the content using a dictionary.

  9. enumAdjacent :: (Ord a, Enum a) => a -> a -> Bool

    Ranged-sets Data.Ranged.Boundaries

    Check adjacency for sparse enumerated types (i.e. where there is no value between x and succ x).

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

    classy-prelude-yesod ClassyPrelude.Yesod

    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 85 of many | Previous | Next