profunctors-3.0: Haskell 98 Profunctors

Safe HaskellSafe-Infered

Data.Profunctor

Documentation

class Profunctor h whereSource

Methods

lmap :: (a -> b) -> h b c -> h a cSource

rmap :: (b -> c) -> h a b -> h a cSource

newtype UpStar f d c Source

Constructors

UpStar 

Fields

runUpStar :: d -> f c
 

Instances

newtype DownStar f d c Source

Constructors

DownStar 

Fields

runDownStar :: f d -> c
 

Instances