Difference between revisions of "HaskellWiki:Syntax highlighting/Breakage"

From HaskellWiki
Jump to: navigation, search
(Explain ourselves.)
(more detail)
Line 4: Line 4:
 
x == '-' || True
 
x == '-' || True
 
</haskell>
 
</haskell>
  +
  +
That breaks.
  +
  +
<haskell>
  +
x :: String
  +
x = map toUpper "hello"
  +
</haskell>
  +
  +
Subsequent <nowiki><haskell></nowiki> blocks seem to independant of the breakages.
  +
  +
<haskell>
  +
False || True
  +
</haskell>
  +
  +
Looks like the (||) operator is causing the problems.

Revision as of 13:13, 10 June 2006

This page is an attempt to find a minimal criminal for the bugs in GeSHi, the syntax highlighter that powers <haskell> and <hask> on the Haskell wiki.

x == '-' || True

That breaks.

x :: String
x = map toUpper "hello"

Subsequent <haskell> blocks seem to independant of the breakages.

False || True

Looks like the (||) operator is causing the problems.