product-profunctors-0.8.0.3: product-profunctors

Safe HaskellSafe
LanguageHaskell2010

Data.Profunctor.Product.Newtype

Documentation

class Newtype t where #

Minimal complete definition

constructor, field

Methods

constructor :: a -> t a #

field :: t a -> a #

pNewtype :: (Profunctor p, Newtype t) => p a b -> p (t a) (t b) #