HaskellWiki:Syntax highlighting/Breakage

From HaskellWiki
< HaskellWiki:Syntax highlighting
Revision as of 13:14, 10 June 2006 by DavidHouse (talk | contribs) (counterexample)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

a || b

However, that works. Perhaps it only breaks when using literals?