Copyright | (C) 2014-2017 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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