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.TH

Description

Functions that splice traces into source code which take an arbitrary data type or data family instance as an argument (even if it is not an instance of `TextShow`). You need to enable the `TemplateHaskell` language extension in order to use this module.

Since: 2

Synopsis

- makeTraceTextShow :: Name -> Q Exp
- makeTraceTextShowId :: Name -> Q Exp
- makeTraceTextShowM :: Name -> Q Exp

# Documentation

makeTraceTextShow :: Name -> Q Exp Source

Generates a lambda expression which behaves like `traceTextShow` (without requiring a `TextShow` instance).

Since: 2

makeTraceTextShowId :: Name -> Q Exp Source

Generates a lambda expression which behaves like `traceTextShowId` (without requiring a `TextShow` instance).

Since: 2

makeTraceTextShowM :: Name -> Q Exp Source

Generates a lambda expression which behaves like `traceTextShowM` (without requiring a `TextShow` instance).

Since: 2