Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. data Product (f :: k -> Type) (g :: k -> Type) (a :: k)

    rank2classes Rank2

    Lifted product of functors.

    Examples

    >>> fmap (+1) (Pair [1, 2, 3] (Just 0))
    Pair [2,3,4] (Just 1)
    
    >>> Pair "Hello, " (Left 'x') <> Pair "World" (Right 'y')
    Pair "Hello, World" (Right 'y')
    

  2. data Product (f :: u -> Type) (as :: [u])

    world-peace Data.WorldPeace

    An extensible product type. This is similar to Union, except a product type instead of a sum type.

  3. module Data.WorldPeace.Product

    This module defines an open product type. This is used in the case-analysis handler for the open sum type (catchesUnion).

  4. data Product (f :: u -> Type) (as :: [u])

    world-peace Data.WorldPeace.Product

    An extensible product type. This is similar to Union, except a product type instead of a sum type.

  5. module Data.Type.Functor.Product

    Generalized functor products based on lifted Foldables. For example, Rec f '[a,b,c] from vinyl contains an f a, f b, and f c. PMaybe f ('Just a) contains an f a and PMaybe f 'Nothing contains nothing. Also provide data types for "indexing" into each foldable.

  6. module Data.Profunctor.Product

    No documentation available.

  7. newtype Product a

    testing-feat Test.Feat.Enumerate

    Monoid under multiplication.

    Product x <> Product y == Product (x * y)
    

    Examples

    >>> Product 3 <> Product 4 <> mempty
    Product {getProduct = 12}
    
    >>> mconcat [ Product n | n <- [2 .. 10]]
    Product {getProduct = 3628800}
    

  8. Product :: a -> Product a

    testing-feat Test.Feat.Enumerate

    No documentation available.

  9. module Data.Type.Witness.Specific.List.Product

    No documentation available.

  10. module Data.Generics.Product

    Magic product operations using Generics These classes need not be instantiated manually, as GHC can automatically prove valid instances via Generics. Only the Generic class needs to be derived (see examples).

Page 5 of many | Previous | Next