io-sim-0.2.0.0: A pure simulator for monadic concurrency with STM
Safe Haskell Safe-Inferred
Language Haskell2010

Data.List.Trace

Synopsis

Documentation

data Trace a b Source #

A cons list with polymorphic nil , thus an octopus.

Usually used with a being a non empty sum type.

Constructors

Cons b ( Trace a b)
Nil a

Instances

Instances details
Bitraversable Trace Source #
Instance details

Defined in Data.List.Trace

Methods

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

Bifoldable Trace Source #
Instance details

Defined in Data.List.Trace

Methods

bifold :: Monoid m => Trace m m -> m Source #

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

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> Trace a b -> c Source #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> Trace a b -> c Source #

Bifunctor Trace Source #
Instance details

Defined in Data.List.Trace

Methods

bimap :: (a -> b) -> (c -> d) -> Trace a c -> Trace b d Source #

first :: (a -> b) -> Trace a c -> Trace b c Source #

second :: (b -> c) -> Trace a b -> Trace a c Source #

Monoid a => Monad ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Functor ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Methods

fmap :: (a0 -> b) -> Trace a a0 -> Trace a b Source #

(<$) :: a0 -> Trace a b -> Trace a a0 Source #

Monoid a => MonadFix ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Methods

mfix :: (a0 -> Trace a a0) -> Trace a a0 Source #

Monoid a => MonadFail ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Monoid a => Applicative ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Eq a => Eq1 ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Methods

liftEq :: (a0 -> b -> Bool ) -> Trace a a0 -> Trace a b -> Bool Source #

Ord a => Ord1 ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Show a => Show1 ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Monoid a => Alternative ( Trace a) Source #
Instance details

Defined in Data.List.Trace

Monoid a => MonadPlus ( Trace a) Source #
Instance details

Defined in Data.List.Trace

( Eq b, Eq a) => Eq ( Trace a b) Source #
Instance details

Defined in Data.List.Trace

( Ord b, Ord a) => Ord ( Trace a b) Source #
Instance details

Defined in Data.List.Trace

( Show b, Show a) => Show ( Trace a b) Source #
Instance details

Defined in Data.List.Trace

Semigroup a => Semigroup ( Trace a b) Source #
Instance details

Defined in Data.List.Trace

Monoid a => Monoid ( Trace a b) Source #
Instance details

Defined in Data.List.Trace

ppTrace :: (a -> String ) -> (b -> String ) -> Trace a b -> String Source #

Pretty print an Trace .