product-profunctors-0.11.0.2: product-profunctors
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Profunctor.Product.Newtype

Documentation

class Newtype t where Source #

Methods

constructor :: a -> t a Source #

field :: t a -> a Source #

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