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 [email protected], 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

_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to