bifunctors-5.5.14: Bifunctors
Copyright (C) 2008-2016 Edward Kmett
License BSD-style (see the file LICENSE)
Maintainer Edward Kmett <ekmett@gmail.com>
Stability provisional
Portability portable
Safe Haskell Safe
Language Haskell2010

Data.Bifunctor.Wrapped

Description

Synopsis

Documentation

newtype WrappedBifunctor p a b Source #

Make a Functor over the second argument of a Bifunctor .

Constructors

WrapBifunctor

Fields

Instances

Instances details
Generic1 ( WrappedBifunctor p a :: k1 -> Type ) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep1 ( WrappedBifunctor p a) :: k -> Type Source #

Methods

from1 :: forall (a0 :: k). WrappedBifunctor p a a0 -> Rep1 ( WrappedBifunctor p a) a0 Source #

to1 :: forall (a0 :: k). Rep1 ( WrappedBifunctor p a) a0 -> WrappedBifunctor p a a0 Source #

Bitraversable p => Bitraversable ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Methods

bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> WrappedBifunctor p a b -> f ( WrappedBifunctor p c d) Source #

Bifoldable p => Bifoldable ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Methods

bifold :: Monoid m => WrappedBifunctor p m m -> m Source #

bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> WrappedBifunctor p a b -> m Source #

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> WrappedBifunctor p a b -> c Source #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> WrappedBifunctor p a b -> c Source #

Bifunctor p => Bifunctor ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Eq2 p => Eq2 ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Methods

liftEq2 :: (a -> b -> Bool ) -> (c -> d -> Bool ) -> WrappedBifunctor p a c -> WrappedBifunctor p b d -> Bool Source #

Ord2 p => Ord2 ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Read2 p => Read2 ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Show2 p => Show2 ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Methods

liftShowsPrec2 :: ( Int -> a -> ShowS ) -> ([a] -> ShowS ) -> ( Int -> b -> ShowS ) -> ([b] -> ShowS ) -> Int -> WrappedBifunctor p a b -> ShowS Source #

liftShowList2 :: ( Int -> a -> ShowS ) -> ([a] -> ShowS ) -> ( Int -> b -> ShowS ) -> ([b] -> ShowS ) -> [ WrappedBifunctor p a b] -> ShowS Source #

Biapplicative p => Biapplicative ( WrappedBifunctor p) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Bifunctor p => Functor ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Bifoldable p => Foldable ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Bitraversable p => Traversable ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

( Eq2 p, Eq a) => Eq1 ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

( Ord2 p, Ord a) => Ord1 ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

( Read2 p, Read a) => Read1 ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

( Show2 p, Show a) => Show1 ( WrappedBifunctor p a) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Eq (p a b) => Eq ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Ord (p a b) => Ord ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Read (p a b) => Read ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Show (p a b) => Show ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Generic ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep ( WrappedBifunctor p a b) :: Type -> Type Source #

type Rep1 ( WrappedBifunctor p a :: k1 -> Type ) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

type Rep1 ( WrappedBifunctor p a :: k1 -> Type ) = D1 (' MetaData "WrappedBifunctor" "Data.Bifunctor.Wrapped" "bifunctors-5.5.14-4o2vxpA6iYN8K0rfLgtyzm" ' True ) ( C1 (' MetaCons "WrapBifunctor" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unwrapBifunctor") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec1 (p a))))
type Rep ( WrappedBifunctor p a b) Source #
Instance details

Defined in Data.Bifunctor.Wrapped

type Rep ( WrappedBifunctor p a b) = D1 (' MetaData "WrappedBifunctor" "Data.Bifunctor.Wrapped" "bifunctors-5.5.14-4o2vxpA6iYN8K0rfLgtyzm" ' True ) ( C1 (' MetaCons "WrapBifunctor" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unwrapBifunctor") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 (p a b))))