begin [EMAIL PROTECTED] quote: > Quoting Steffen Mazanek <[EMAIL PROTECTED]>: > > > 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: <code><[CDATA[ ...haskell code goes here... ]]></code> This way the only character sequence you have to avoid in the code is ]]>, which isn't really a restriction. Udo.
pgp00000.pgp
Description: PGP signature
_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell