Module Data.Product
A pair of two applicative functors, both applied to the same type
Imports
Table of Content
-
data Product f g a
-
Constructors
-
Prod (f a) (g a)
-
-
product ∷ (α γ, β γ) → Product α β γ
-
view a tuple as Product
-
unproduct ∷ Product α β γ → (α γ, β γ)
-
make a tuple from a Product
-
instance (Functor f, Functor g) ⇒ Functor (Product f g)
-
Member Functions
-
fmap ∷ (Functor β, Functor α) ⇒ (γ → δ) → Product β α γ → Product β α δ
infixl 4
-
-
Product α β γ → (α γ, β γ)
-
unproduct
-
(α γ, β γ) → Product α β γ
-
product
-
f a → g a → Product f g a
-
Product.Prod
-
(Functor β, Functor α) ⇒ (γ → δ) → Product β α γ → Product β α δ
-
Functor_Product.fmap
