text-show-0.6.0.1: Efficient conversion of values into Text

Copyright(C) 2014-2015 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityExperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Text.Show.Text.Debug.Trace.Generic

Description

Functions that trace the values of Generic instances (even if they are not instances of Show).

Since: 0.6

Synopsis

Documentation

genericTraceShow :: (Generic a, GShow (Rep a)) => a -> b -> b Source

Outputs the shown trace message of its first argument (a Generic instance) before returning the second argument.

Since: 0.6

genericTraceShowId :: (Generic a, GShow (Rep a)) => a -> a Source

Outputs the shown trace message of its argument (a Generic instance) before returning that argument.

Since: 0.6

genericTraceShowM :: (Generic a, GShow (Rep a), Monad m) => a -> m () Source

Outputs the shown trace message of its argument (a Generic instance) in an arbitrary monad.

Since: 0.6