profunctors-0.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 (d -> f c) 

Instances

newtype DownStar f d c Source

Constructors

DownStar (f d -> c) 

Instances