Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.2
http://hackage.haskell.org/trac/ghc/changeset/9896b451fb8d704e86ed5ee8cda0fb6daf199f4c >--------------------------------------------------------------- commit 9896b451fb8d704e86ed5ee8cda0fb6daf199f4c Author: Simon Marlow <[email protected]> Date: Tue Jun 14 09:33:17 2011 +0100 Mention ByteString and Text to docs for OverloadedStrings >--------------------------------------------------------------- docs/users_guide/glasgow_exts.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index 09a9062..16cc760 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -4343,7 +4343,8 @@ literals enabled (with <literal>-XOverloadedStrings</literal>) a string literal has type <literal>(IsString a) => a</literal>. </para> <para> -This means that the usual string syntax can be used, e.g., for packed strings + This means that the usual string syntax can be used, e.g., + for <literal>ByteString</literal>, <literal>Text</literal>, and other variations of string like types. String literals behave very much like integer literals, i.e., they can be used in both expressions and patterns. If used in a pattern the literal with be replaced by an equality test, in the same _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
