profunctors-0.1.1: Haskell 98 Profunctors

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