category-extras-0.44.4: Various modules and constructs inspired by category theory

Portabilitynon-portable (functional-dependencies)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Bifunctor

Description

 

Documentation

class Bifunctor f whereSource

Methods

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

first :: (a -> c) -> f a b -> f c bSource

second :: (b -> d) -> f a b -> f a dSource