pretty-simple 1.0.0.1 → 1.0.0.2
raw patch · 3 files changed
+9/−9 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- example/Example.hs +5/−5
- example/Example/Data.hs +3/−3
- pretty-simple.cabal +1/−1
example/Example.hs view
@@ -3,11 +3,11 @@ import Text.Pretty.Simple (pPrint) -import Example.Data (baz)+import Example.Data (bar) main :: IO () main = do- -- putStrLn "\nThe following normal \"print\" output:\n"- -- print bar- -- putStrLn "\ngets turned into this (using \"Text.Pretty.Simple.pPrint\"):\n"- pPrint baz+ putStrLn "\nThe following normal \"print\" output:\n"+ print bar+ putStrLn "\ngets turned into this (using \"Text.Pretty.Simple.pPrint\"):\n"+ pPrint bar
example/Example/Data.hs view
@@ -26,16 +26,16 @@ foo = Foo 3 fooList 3.3 bar :: Bar-bar = Bar 10 (replicate 2 foo) 10.55+bar = Bar 10 (replicate 1 foo) 10.55 bazLevel1 :: Baz bazLevel1 = Baz bar [] bazLevel2 :: Baz-bazLevel2 = Baz bar $ replicate 5 bazLevel1+bazLevel2 = Baz bar $ replicate 50 bazLevel1 baz :: Baz-baz = Baz bar $ replicate 5 bazLevel2+baz = Baz bar $ replicate 30 bazLevel2 fooList :: [String] fooList =
pretty-simple.cabal view
@@ -1,5 +1,5 @@ name: pretty-simple-version: 1.0.0.1+version: 1.0.0.2 synopsis: Simple pretty printer for any datatype with a 'Show' instance. description: Please see README.md homepage: https://github.com/cdepillabout/pretty-simple