Copyright | (C) 2014-2015 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Text.Show.Text.Debug.Trace.Generic
Description
Functions that trace the values of Generic
instances (even if they are not
instances of Show
). This module only exports functions if the compiler supports
generics (on GHC, 7.2 or above).
Since: 0.6
- genericTraceShow :: (Generic a, GShow (Rep a)) => a -> b -> b
- genericTraceShowId :: (Generic a, GShow (Rep a)) => a -> a
- genericTraceShowM :: (Generic a, GShow (Rep a), Monad m) => a -> m ()
Documentation
genericTraceShow :: (Generic a, GShow (Rep a)) => a -> b -> b Source
genericTraceShowId :: (Generic a, GShow (Rep a)) => a -> a Source
A Generic
implementation of traceShowId
.
Since: 0.6
genericTraceShowM :: (Generic a, GShow (Rep a), Monad m) => a -> m () Source
A Generic
implementation of traceShowM
.
Since: 0.6