[Haskell] possible bug in pretty-1.0.1.0

John MacFarlane jgm at berkeley.edu
Mon Dec 15 11:17:56 EST 2008


I noticed a difference in how "hang" works between pretty-1.0.0.0 and
pretty-1.0.1.0. I think it's a bug. If this isn't the right place to
report it, please let me know where I should.  (Maintainer is listed
as libraries at haskell.org, but that is a closed mailing list.  Perhaps
Cabal should include a report-bugs-at field?)

John

GHCi, version 6.8.3: http://www.haskell.org/ghc/  :? for help
...
Prelude Text.PrettyPrint>  putStrLn $ render $ hang (char '*') 4 (text "hi" $$ text "there")
Loading package pretty-1.0.0.0 ... linking ... done.
*   hi
    there

GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
...
Prelude Text.PrettyPrint>  putStrLn $ render $ hang (char '*') 4 (text "hi" $$ text "there")
Loading package pretty-1.0.1.0 ... linking ... done.
*
    hi
    there



More information about the Haskell mailing list