RE: Dealing with implementation differences

2001-07-17 Thread Simon Peyton-Jones
| How does one deal cleanly with implementation differences, | e.g. things like isAscii being defined in Hugs but not in | GHC? I'd hate to resort to Makefile trickery and preprocessing. isAscii is certainly defined in GHC. It's in module Char, like the language definition says. | Btw, the re

Re: Dealing with implementation differences

2001-07-17 Thread Wolfgang Lux
Hello, > How does one deal cleanly with implementation differences, e.g. things > like > isAscii being defined in Hugs but not in GHC? I'd hate to resort to > Makefile > trickery and preprocessing. You can try to use some special compatibility module where you collect all the workarounds for

Dealing with implementation differences

2001-07-17 Thread Pertti Kellomäki
Hello all, How does one deal cleanly with implementation differences, e.g. things like isAscii being defined in Hugs but not in GHC? I'd hate to resort to Makefile trickery and preprocessing. Btw, the reason I want to run the same sources with Hugs and GHC is that I have a compiler whose pars