serokell-util-0.10.0: General-purpose functions by Serokell

Safe HaskellNone
LanguageHaskell2010

Serokell.Util.Trace

Description

Utility trace-like functions.

Synopsis

Documentation

traceIdF :: VarArgTrace fmt a => Format Text fmt -> a Source #

Warning: traceIdF remains in code

Generalized version of traceShowId. Accepts formatter as first parameter, and then multiple arguments to print.

Examples:

>>> traceIdF F.ords 1
1st
1
>>> traceIdF ("Item no "%F.int%": "%F.build) 5 True
Item no 5: True
True