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@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
Hi John, On Mon, Dec 15, 2008 at 08:17:56AM -0800, John MacFarlane wrote:
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.
The best place at the moment is in GHC's trac: http://hackage.haskell.org/trac/ghc/newticket setting the component to "libraries/pretty". Thanks Ian
participants (2)
-
Ian Lynagh -
John MacFarlane