
I get the following error message from hat's internals: legion:haskell> hmake -hat SimonGA hat-trans SimonGA.hs Fail: AuxFixity.hs:92: Non-exhaustive patterns in case The program compiles fine under nhc and ghc without hat. Amanda I would attach the file that caused this but it's not mine - though I can ask if you need it.

legion:haskell> hmake -hat SimonGA hat-trans SimonGA.hs Fail: AuxFixity.hs:92: Non-exhaustive patterns in case
I think this is due to a fragment of code like the following: (-1.0 <= x && x <= -0.5) Hat's resolution of the priority and fixity of the infix operators is being tripped up by the close conjuction of <= and - near the right of the expression. Until we find a fix for this, a workaround is simply to parenthesise negative numbers, e.g. ((-1.0) <= x && x <= (-0.5)) Regards, Malcolm
participants (2)
-
Amanda Clare
-
Malcolm Wallace