bifunctors-0.1.3.3: Haskell 98 bifunctors

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

Data.Bifunctor

Description

 

Synopsis

Documentation

class Bifunctor p whereSource

Minimal definition either bimap or first and second

Methods

bimap :: (a -> b) -> (c -> d) -> p a c -> p b dSource

first :: (a -> b) -> p a c -> p b cSource

second :: (b -> c) -> p a b -> p a cSource