[Note workarounds for bugs. malcolm**20041012095004] { hunk ./docs/bugs.html 24 + (See FAQ for workaround.) hunk ./docs/bugs.html 26 -
+The hat-2.02 package is quite old now and does not build cleanly +with ghc ≥ 6.0. All the problems are already fixed in CVS, and we +do hope to release an updated package in the near to mid future, +but in the meantime, we recommend that ghc-6.x users use our +anonymous CVS repository to get a working +version of Hat. + hunk ./docs/faq.html 69 -Hat covers the complete Haskell 98 language and its libraries, or +Hat covers the complete Haskell'98 language and its libraries, or hunk ./docs/faq.html 77 +
+You have been hit by Haskell's defaulting rules for numeric literals, +which unfortunately means you need to add one or more type signatures +to your code. In the rejected module, add the line "default ()", +and recompile it normally (not for tracing). You will now see an +error of similar form to the error you saw when compiling for tracing, +except that the line number refers to your original code. Fix this +error by adding a type signature, e.g. (0::Int) instead of just 0. +Now if your original code compiles cleanly again, it will also compile +properly for tracing. + +
+Hat has some numeric limits on the size of certain constructs it +can handle. Usually, there is a simple syntactic change you can make +to your original source code to get round the limitation. For instance: +
x { a=1, b=2, c=3, d=4, e=5 }+ to
x { a=1, b=2 } { c=3, d=4 } { e=5 }+ +
f a b c d e g h i j kto
(((f a b c d) e g h i) j k+