User:Benmachine/hasktag bug
< User:Benmachine
Jump to navigation
Jump to search
Revision as of 20:48, 19 January 2012 by Benmachine (talk | contribs) (New page: When you open a comment inside <hask> tags without closing it, the parser breaks. Observe: Oh no: <hask>{-</hask> I broke it! Here's some nicely-formatted code: <haskell> id :: a ...)
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.
When you open a comment inside <hask> tags without closing it, the parser breaks. Observe:
Oh no: {-
I broke it!
Here's some nicely-formatted code:
id :: a -> a
id x = const x x
const :: a -> b -> a
const x _ = id x
which is now ruined. Interestingly this text is fine.
Perhaps it's only paragraphs with any
code that are broken.
Closing comments on their own inside comments seem to have no effect: -}
this is not fixed
The problem
doesn't even stop at section boundaries:
error :: String -> a
error str = error (error str)