hledger/hledger-lib
Simon Michael 3cf53661f3 new debug helpers; --debug=N sets debugLevel
The debug level set by `--debug[=N]` is now available to pure and
startup code as debugLevel, using unsafePerformIO.

`dbg LABEL ...` is now the go-to helper for tracing values on the
console; it produces output when the debug level is non-zero. `dbgExit`
is similar but exits immediately, avoiding further output. The
`dbgshow`, `dbgppshow` and `dbgpprint` variants allow control over the
pretty-printing method and required debug level, allowing more control
over what is displayed when.

Other cleanups: lstrace -> ltrace, pdbgAt -> pdbg, tracewith -> traceWith.
2013-12-06 13:35:50 -08:00
..
Hledger new debug helpers; --debug=N sets debugLevel 2013-12-06 13:35:50 -08:00
tests Add cabal testsuite for hledger-lib. 2013-05-15 15:56:01 -04:00
hledger-lib.cabal balance: basic multi-column balance (change) reports 2013-09-26 15:06:48 -07:00
Hledger.hs promote Hledger.Query to second level 2012-05-16 07:57:10 +00:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
Setup.hs Setup.hs is needed after all, by hackage 2011-09-02 00:29:50 +00:00