profunctors-5.1.2: Profunctors

Safe HaskellSafe
LanguageHaskell2010

Data.Profunctor.Closed

Synopsis

Documentation

class Profunctor p => Closed p where Source

A strong profunctor allows the monoidal structure to pass through.

A closed profunctor allows the closed structure to pass through.

Methods

closed :: p a b -> p (x -> a) (x -> b) Source

close :: Closed p => (p :-> q) -> p :-> Closure q Source