[commit: base] master: Fixed documentation bug (dabfb8f)
Daniel Fischer
dafis at galois.com
Sun Oct 2 17:16:55 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/dabfb8fe1039151ad850121fc16e6b6700ee186c
>---------------------------------------------------------------
commit dabfb8fe1039151ad850121fc16e6b6700ee186c
Author: Daniel Fischer <daniel.is.fischer at googlemail.com>
Date: Sun Oct 2 14:42:41 2011 +0200
Fixed documentation bug
>---------------------------------------------------------------
GHC/Show.lhs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/GHC/Show.lhs b/GHC/Show.lhs
index 645472d..906781b 100644
--- a/GHC/Show.lhs
+++ b/GHC/Show.lhs
@@ -365,7 +365,7 @@ showMultiLineString :: String -> [String]
-- escape conventions), but
-- * break the string into multiple lines
-- * wrap the entire thing in double quotes
--- Example: @showLitString "hello\ngoodbye\nblah"@
+-- Example: @showMultiLineString "hello\ngoodbye\nblah"@
-- returns @["\"hello\\", "\\goodbye\\", "\\blah\""]@
showMultiLineString str
= go '\"' str
More information about the Cvs-libraries
mailing list