[Haskell-cafe] Haddock Markup
Jonathan Cast
jonathanccast at fastmail.fm
Thu Feb 12 19:33:23 EST 2009
On Fri, 2009-02-13 at 13:30 +1300, Richard O'Keefe wrote:
> Let's take this example from the web.
> <math> <mrow> <msup> <mi>x</mi><mn>2</mn> </msup> <mo>+</mo> <mrow>
> <mn>4</mn><mo>⁢</mo><mi>x</mi> </mrow> <mo>+</mo>
> <mn>4</mn> </mrow> </math>
NB: This example is *precisely* why I will never adopt MathML as an
authoring format. Bowing and scraping at the alter of W3C is not worth
using such a terrible syntax, not ever.
(Indented, that's
<math>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<mrow>
<mn>4</mn>
<mo>⁢</mo>
<mi>x</mi>
</mrow>
<mo>+</mo>
<mn>4</mn>
</mrow>
</math>
Which is still unforgivably horrible. I *think* it's trying to say $x^2
+ 4x + 4$, but I'm not confident even of that. I'm also unconvinced
it's actually easier to parse than $x^2 + 4x + 4$.)
jcc
More information about the Haskell-Cafe
mailing list