packages feed

ghc-dump-tree 0.2.0.1 → 0.2.0.2

raw patch · 4 files changed

+7/−4 lines, 4 filesdep ~aesondep ~optparse-applicativedep ~vectorPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, optparse-applicative, vector

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+0.2.0.2+-------+* Make sure match groups (MGs) are shown in renamed tree (#10).+ 0.2.0.1 ------- * Build with ghc 8.0
README.md view
@@ -2,5 +2,4 @@  Dump GHC's abstract syntax trees (parsed, renamed, and type checked) in text or JSON format. Useful for GHC devs or people who want to do something with GHC's-AST but don't want to hook into the GHC API itself. Tested with GHC 7.4, GHC 7.8-and GHC 7.10. +AST but don't want to hook into the GHC API itself. Tested with GHC 7.4-8.0.
ghc-dump-tree.cabal view
@@ -1,5 +1,5 @@ name:                ghc-dump-tree-version:             0.2.0.1+version:             0.2.0.2 synopsis:            Dump GHC's parsed, renamed, and type checked ASTs description:         Useful for GHC devs or people who want to do something with                      GHC's AST but don't want to hook into the GHC API itself.
src/Language/Haskell/GHC/DumpTree.hs view
@@ -102,7 +102,7 @@      withPretty :: (Data a, Outputable a,GhcMonad m) => Bool -> a -> m Value     withPretty True  x = generic True x-    withPretty False x = do+    withPretty False x = ghandle handleException $ do         prettied <- pretty x         tree     <- generic True x         return $! Rec "" [(prettied, tree)]