My program has a different behaviour under hugs and ghc.

I wrote a very simple parser with Parsec and it parses a file quite easily -
as long as
I use hugs to run it. But when I compile it with ghc, the parse fails.
(I'm currently working on WinNT with cygwin).

Something else, but related: how do I avoid writing different Code for Hugs
and ghc?
For example, I had to hide "Word" in Hugs with 
> import Prelude hiding (Word)
but was not allowed to do that with ghc. I ended up using "Wort".

Why the difference?

Markus

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to