6 The unifier would like to propogate use of Char#s all the way to the
7 readChan and appendChan. However these have explicit [Char] arguments
8 so we must explicitly coerce the Chars as we extract them.
9 clause produces [Char#]s
10 parse reads [Char] and builds Sym Char#
11 disp takes [Char#]s and produces [Char]
14 * The extent of this unboxification is quite surprising and possibly
16 * Coersion when constructing or extracting from unboxed structures can
17 be a pain. Where this occurs defines the extent of the unboxedness.
21 Might want to introduce versions of I/O operations which read/write
22 [Char#]. Use a type class to capture either boxed or unboxed Chars.
34 fromChar c = case c of MkChar c# -> c#
36 Now rather than specifying type as
41 Now just need a specialised versions I/O operations which deal with [Char#]
43 The Char class is very similar to the overloading of numeric constants.