
10 Jul
2007
10 Jul
'07
2:48 p.m.
Simon Peyton-Jones writes:
| Add {-# OPTIONS_GHC -fno-mono-pat-binds #-} | | You are the fourth person to discover monomorphic pattern bindings :)
Yes, the details are here http://hackage.haskell.org/trac/haskell-prime/wiki/MonomorphicPatternBinding...
If you could snip out the code that gave rise to the error, I'll add it to that wiki page. (There are four other examples there, one from Koen which might perhaps be essentially the same thing.)
it looks like that example from Koen (one of the authors of Paradox) is essentially the same as this one, as you guessed. If you'd like to add this code anyway, let me know. or perhaps it would be more appropriate to ask Koen, since it's his code. best regards, scott