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 non-portable
Safe Haskell Safe
Language Haskell2010

Data.Bifunctor.Fix

Description

Synopsis

Documentation

newtype Fix p a Source #

Greatest fixpoint of a Bifunctor (a Functor over the first argument with zipping).

Constructors

In

Fields

Instances

Instances details
Bifunctor p => Functor ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Methods

fmap :: (a -> b) -> Fix p a -> Fix p b Source #

(<$) :: a -> Fix p b -> Fix p a Source #

Biapplicative p => Applicative ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Bifoldable p => Foldable ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Methods

fold :: Monoid m => Fix p m -> m Source #

foldMap :: Monoid m => (a -> m) -> Fix p a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Fix p a -> m Source #

foldr :: (a -> b -> b) -> b -> Fix p a -> b Source #

foldr' :: (a -> b -> b) -> b -> Fix p a -> b Source #

foldl :: (b -> a -> b) -> b -> Fix p a -> b Source #

foldl' :: (b -> a -> b) -> b -> Fix p a -> b Source #

foldr1 :: (a -> a -> a) -> Fix p a -> a Source #

foldl1 :: (a -> a -> a) -> Fix p a -> a Source #

toList :: Fix p a -> [a] Source #

null :: Fix p a -> Bool Source #

length :: Fix p a -> Int Source #

elem :: Eq a => a -> Fix p a -> Bool Source #

maximum :: Ord a => Fix p a -> a Source #

minimum :: Ord a => Fix p a -> a Source #

sum :: Num a => Fix p a -> a Source #

product :: Num a => Fix p a -> a Source #

Bitraversable p => Traversable ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Methods

traverse :: Applicative f => (a -> f b) -> Fix p a -> f ( Fix p b) Source #

sequenceA :: Applicative f => Fix p (f a) -> f ( Fix p a) Source #

mapM :: Monad m => (a -> m b) -> Fix p a -> m ( Fix p b) Source #

sequence :: Monad m => Fix p (m a) -> m ( Fix p a) Source #

Eq2 p => Eq1 ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Methods

liftEq :: (a -> b -> Bool ) -> Fix p a -> Fix p b -> Bool Source #

Ord2 p => Ord1 ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Read2 p => Read1 ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Show2 p => Show1 ( Fix p) Source #
Instance details

Defined in Data.Bifunctor.Fix

Eq (p ( Fix p a) a) => Eq ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

Ord (p ( Fix p a) a) => Ord ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

Read (p ( Fix p a) a) => Read ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

Show (p ( Fix p a) a) => Show ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

Generic ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

Associated Types

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

type Rep ( Fix p a) Source #
Instance details

Defined in Data.Bifunctor.Fix

type Rep ( Fix p a) = D1 (' MetaData "Fix" "Data.Bifunctor.Fix" "bifunctors-5.5.14-4o2vxpA6iYN8K0rfLgtyzm" ' True ) ( C1 (' MetaCons "In" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "out") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 (p ( Fix p a) a))))