Community
Modules 14

Data.Bifunctor.Joker

provisional

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

newtype Joker g a b

Make a Functor over the second argument of a Bifunctor.

Mnemonic: Clowns to the left (parameter of the Bifunctor), jokers to the right.

Instances

23
  • instance (Eq g, Eq a, Eq b) => Eq (Joker g a b)
  • instance (Ord g, Ord a, Ord b) => Ord (Joker g a b)
  • instance (Show g, Show a, Show b) => Show (Joker g a b)
  • instance (Read g, Read a, Read b) => Read (Joker g a b)
  • instance (Generic g, Generic a, Generic b) => Generic (Joker g a b)
  • instance (Generic1 g, Generic1 a, Generic1 b) => Generic1 (Joker g a b)
  • instance Eq1 g => Eq1 (Joker g a)
  • instance Eq1 g => Eq2 (Joker g)
  • instance Ord1 g => Ord1 (Joker g a)
  • instance Ord1 g => Ord2 (Joker g)
  • instance Read1 g => Read1 (Joker g a)
  • instance Read1 g => Read2 (Joker g)
  • instance Show1 g => Show1 (Joker g a)
  • instance Show1 g => Show2 (Joker g)
  • instance Functor g => Bifunctor (Joker g)
  • instance Functor g => Functor (Joker g a)
  • instance Applicative g => Biapplicative (Joker g)
  • instance Foldable g => Bifoldable (Joker g)
  • instance Foldable1 g => Bifoldable1 (Joker g)
  • instance Foldable g => Foldable (Joker g a)
  • instance Foldable1 g => Foldable1 (Joker g a)
  • instance Traversable g => Bitraversable (Joker g)
  • instance Traversable g => Traversable (Joker g a)
Maintainer
Edward Kmett <ekmett@gmail.com>
Portability
portable
Copyright
(C) 2008-2016 Edward Kmett
License
BSD-style (see the file LICENSE)
Build record and source files

Community contribution. The service has not verified this documentation. The generator reported 2 diagnostics.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-aa6debbd-web-3

Metadata snapshot: 09b82df928e064b0f451e3d0573302709a7badfc69fe1ca8110c8d45f2c2865f

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.