u.stenzel at web.de
Thu Oct 16 13:02:28 EDT 2003
begin ajb at spamcop.net quote:
> Quoting Steffen Mazanek <steffen.mazanek at unibw-muenchen.de>:
> > Would it make sense, to add a xml like code environment
> > as well, e.g., <code>...</code>?
> It's hard to say. The problem is that some Haskell characters are also
> important for XML (e.g. <, &) and so you can't just cut and paste valid
> Haskell inside a <code>...</code> wrapper and expect it to work without
> some additional markup.
You could use a CDATA section:
...haskell code goes here...
This way the only character sequence you have to avoid in the code is
]]>, which isn't really a restriction.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 240 bytes
Desc: not available
Url : http://porky.devel.redhat.com/pipermail/haskell/attachments/20031016/2c95ac08/attachment.bin
More information about the Haskell