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 |
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 Show
). You
need to enable the TemplateHaskell
language extension in order to use this module.
Since: 0.5
- mkTraceShow :: Name -> Q Exp
- mkTraceShowId :: Name -> Q Exp
- mkTraceShowM :: Name -> Q Exp
Documentation
mkTraceShow :: Name -> Q Exp Source
Generates a lambda expression which behaves like traceShow
(without requiring a
Show
instance).
Since: 0.5
mkTraceShowId :: Name -> Q Exp Source
Generates a lambda expression which behaves like traceShowId
(without requiring a
Show
instance).
Since: 0.5
mkTraceShowM :: Name -> Q Exp Source
Generates a lambda expression which behaves like traceShowM
(without requiring a
Show
instance).
Since: 0.5