From e8f54f255a7295fc0da368390706b1ae5d90268c Mon Sep 17 00:00:00 2001 From: ross Date: Thu, 13 Jan 2005 14:44:24 +0000 Subject: [haddock @ 2005-01-13 14:44:24 by ross] Describe numeric character references. --- doc/haddock.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/haddock.xml b/doc/haddock.xml index 0b97c92c..df1dc4a7 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -1229,6 +1229,28 @@ module A where can also be escaped using \. +
+ Character references + + Although Haskell source files may contain any character + from the Unicode character set, the encoding of these characters + as bytes varies between systems, so that only source files + restricted to the ASCII character set are portable. Other + characters may be specified in character and string literals + using Haskell character escapes. To represent such characters + in documentation comments, Haddock supports SGML-style numeric + character references of the forms + &#D; + and + &#xH; + where D and H + are decimal and hexadecimal numbers denoting a code position + in Unicode (or ISO 10646). For example, the references + λ, λ + and λ all represent the lower-case + letter lambda. +
+
Code Blocks -- cgit v1.2.3