Parsec: GHC /= Hugs?
Iavor S. Diatchki
diatchki@cse.ogi.edu
Tue, 04 Mar 2003 09:13:51 -0800
hi,
Markus.Schnell@infineon.com wrote:
> 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
> ...
you are not allowed to hide things that are not exported.
hugs erroneously used to export Word (and other stuff) from the prelude.
i am glad to say that this is not the case anymore (in the CVS version).
actually when using the CVS hugs nearly all programs that run in GHC
run in hugs as well (Haskell 98 anyways, but even a lot of the other
stuff matches). if you find differences (for the haskell 98 part) you
should identify which of the two you think is doing something wrong and
report it as a bug.
bye
iavor
--
==================================================
| Iavor S. Diatchki, Ph.D. student |
| Department of Computer Science and Engineering |
| School of OGI at OHSU |
| http://www.cse.ogi.edu/~diatchki |
==================================================