Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/35c370640277a4ed0a571e2c2b316591018559b7

>---------------------------------------------------------------

commit 35c370640277a4ed0a571e2c2b316591018559b7
Author: Ian Lynagh <[email protected]>
Date:   Thu Jul 7 19:09:22 2011 +0100

    Correct a comment

>---------------------------------------------------------------

 GHC/Show.lhs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/GHC/Show.lhs b/GHC/Show.lhs
index 1645b4a..b0f5ee3 100644
--- a/GHC/Show.lhs
+++ b/GHC/Show.lhs
@@ -365,10 +365,8 @@ showMultiLineString :: String -> [String]
 -- escape conventions), but 
 --   * break the string into multiple lines
 --   * wrap the entire thing in double quotes
--- Example:  @breakMultiLineString "hello\ngoodbye\nblah"@ 
--- returns   @["\"hello\\", "\\goodbye\\", "\\blah\"" ]@
--- where those "\\" are really just a single backslash
--- (but I'm writing them here as Haskell literals)
+-- Example:  @showLitString "hello\ngoodbye\nblah"@
+-- returns   @["\"hello\\", "\\goodbye\\", "\\blah\""]@
 showMultiLineString str
   = go '\"' str
   where



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to