Module

Data.Functor.Product

Package
purescript-functor-products
Repository
purescript/purescript-functor-products

#ProductSource

newtype Product f g a

Product f g is the product of the two functors f and g.

Constructors

Instances

#unProductSource

unProduct :: forall f g a. Product f g a -> Tuple (f a) (g a)

Unwrap a product

#productSource

product :: forall f g a. f a -> g a -> Product f g a

Create a product.