Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base-compat-batteries Data.Semigroup.Compat 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} -
base-compat-batteries Data.Semigroup.Compat No documentation available.
-
generic-lens Data.Generics.Internal.VL Type alias for prism
type
Prism' s a = Prism s s a ageneric-lens Data.Generics.Internal.VL No documentation available.
-
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).
module Data.Generics.Product.
Param Derive traversals over type parameters
data family
Param :: Nat -> j -> kgeneric-lens Data.Generics.Product.Param No documentation available.
module Data.Generics.Product.
Positions Derive positional product type getters and setters generically.
-
generic-random Generic.Random.Internal.Generic No documentation available.
type
PixbufDestroyNotify = Ptr Word8 -> IO ()gi-gdkpixbuf GI.GdkPixbuf.Callbacks A function of this type is responsible for freeing the pixel array of a pixbuf. The pixbufNewFromData function lets you pass in a pre-allocated pixel array so that a pixbuf can be created from it; in this case you will need to pass in a function of type GdkPixbufDestroyNotify so that the pixel data can be freed when the pixbuf is finalized.