The parser fails (non-exhaustive pattern, parser/Parser.hs line 4700) if provided with a comment such as: {-##-} or {-########-} The comment {-#-} is however accepted! Presumably this is to do with pragma parsing! Kevin