| Copyright | (C) 2014-2015 Ryan Scott |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Ryan Scott |
| Stability | Experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell98 |
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
- 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
Outputs the shown trace message of its first argument (a Generic instance)
before returning the second argument.
Since: 0.6