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

Copyright | (C) 2014-2015 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | None
Language | Haskell2010

TextShow.Debug.Trace.Generic

Description

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

Since: 2

Synopsis

- genericTraceTextShow :: (Generic a, GTextShow (Rep a)) => a -> b -> b
- genericTraceTextShowId :: (Generic a, GTextShow (Rep a)) => a -> a
- genericTraceTextShowM :: (Generic a, GTextShow (Rep a), Applicative f) => a -> f ()

# Documentation

genericTraceTextShow :: (Generic a, GTextShow (Rep a)) => a -> b -> b Source

A `Generic` implementation of `traceTextShow`.

Since: 2

genericTraceTextShowId :: (Generic a, GTextShow (Rep a)) => a -> a Source

A `Generic` implementation of `traceTextShowId`.

Since: 2

genericTraceTextShowM :: (Generic a, GTextShow (Rep a), Applicative f) => a -> f () Source

A `Generic` implementation of `traceShowM`.

Since: 2