You don't say which version of ghc, nor which verison of FiniteMap you are
using, nor do you enclose the error message.
My guess: it's something to do with SPECIALIZE pragmas; if so, you can just
delete them. That would explain the -O part. I'm puzzled about why it
thinks PreludeStdIO has anything to do with it.
GHC 2.02 has everything explicit. No magic synonyms!
Simon
| From: Edward Wiles <[EMAIL PROTECTED]>
| Date: Tue, 18 Mar 1997 13:15:30 +0000 (GMT)
| Hello,
|
| I have a module that imports FiniteMap. It compiles fine, unless I use the -O
| option, which complains that it can't find PreludeStdIO(Maybe).
|
| This is fair enough, because Maybe seems to be Haskell 1.3. So I should
| compile with -fhaskell-1.3. But then I need to change all the lovely
| continuation I/O that currently works (and if changed, won't work :-).
|
| So is there an option in the -O package that should be disabled to get it to
| compile? (Incidentally, why *does* the module compile without -O or
| -fhaskell-1.3? How does it find Maybe?)
|
| Also, there is nothing that says "type String = [Char]" in the prelude.
| Baffling :-) Are there any other "built-in" synonyms like this one?
|
| Thanks,
|
| Ed
|