bifunctors-5: Bifunctors

Copyright(C) 2008-2015 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Bifunctor.Joker

Description

From the Functional Pearl "Clowns to the Left of me, Jokers to the Right: Dissecting Data Structures" by Conor McBride.

Synopsis

Documentation

newtype Joker g a b Source

Make a Functor over the second argument of a Bifunctor.

Constructors

Joker 

Fields

runJoker :: g b
 

Instances

Foldable g => Bifoldable (Joker g) 
Functor g => Bifunctor (Joker g) 
Traversable g => Bitraversable (Joker g) 
Applicative g => Biapplicative (Joker g) 
Functor g => Functor (Joker g a) 
Foldable g => Foldable (Joker g a) 
Traversable g => Traversable (Joker g a) 
Eq (g b) => Eq (Joker g a b) 
Ord (g b) => Ord (Joker g a b) 
Read (g b) => Read (Joker g a b) 
Show (g b) => Show (Joker g a b)