packages feed

hledger-lib 1.0 → 1.0.1

raw patch · 3 files changed

+16/−9 lines, 3 filesdep ~megaparsecPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: megaparsec

API changes (from Hackage documentation)

- Hledger.Utils.Debug: dbg :: Show a => String -> a -> a
+ Hledger.Utils.Debug: dbg0 :: Show a => String -> a -> a

Files

CHANGES view
@@ -1,5 +1,10 @@ API-ish changes in the hledger-lib package.-(For user-visible changes, see hledger's change log.)+See also the hledger and project change logs (for user-visible changes).+++# 1.0.1 (2016/10/27)++- allow megaparsec 5.0 or 5.1   # 1.0 (2016/10/26)
Hledger/Utils/Debug.hs view
@@ -81,10 +81,12 @@       args = unsafePerformIO getArgs  -- | Convenience aliases for tracePrettyAt.--- Pretty-print a message and the showable value to the console, then return it.-dbg :: Show a => String -> a -> a-dbg = tracePrettyAt 0 +-- Always pretty-print a message and the showable value to the console, then return it.+-- ("dbg" without the 0 clashes with megaparsec 5.1).+dbg0 :: Show a => String -> a -> a+dbg0 = tracePrettyAt 0+ -- | Pretty-print a message and the showable value to the console when the debug level is >= 1, then return it. Uses unsafePerformIO. dbg1 :: Show a => String -> a -> a dbg1 = tracePrettyAt 1@@ -212,7 +214,7 @@  -- | Like dbg, then exit the program. Uses unsafePerformIO. dbgExit :: Show a => String -> a -> a-dbgExit msg = const (unsafePerformIO exitFailure) . dbg msg+dbgExit msg = const (unsafePerformIO exitFailure) . dbg0 msg  -- | Print a message and parsec debug info (parse position and next -- input) to the console when the debug level is at or above
hledger-lib.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           hledger-lib-version:        1.0+version:        1.0.1 stability:      stable category:       Finance synopsis:       Core data types, parsers and functionality for the hledger accounting tools@@ -68,7 +68,7 @@     , deepseq     , directory     , filepath-    , megaparsec >=5 && < 5.1+    , megaparsec >=5.0 && < 5.2     , mtl     , mtl-compat     , old-time@@ -158,7 +158,7 @@     , deepseq     , directory     , filepath-    , megaparsec >=5 && < 5.1+    , megaparsec >=5.0 && < 5.2     , mtl     , mtl-compat     , old-time@@ -198,7 +198,7 @@     , deepseq     , directory     , filepath-    , megaparsec >=5 && < 5.1+    , megaparsec >=5.0 && < 5.2     , mtl     , mtl-compat     , old-time