diff options
author | simonm <unknown> | 1999-01-15 15:57:48 +0000 |
---|---|---|
committer | simonm <unknown> | 1999-01-15 15:57:48 +0000 |
commit | 4e6d0831f8260f6cf1f8b9f118123d2c4fb86ee1 (patch) | |
tree | 59d668921d21b4fb36595e135e6d03baf4451cec /ghc/compiler/HsVersions.h | |
parent | a31a57721366fd5abd99129c81fcd3c7e1072828 (diff) | |
download | haskell-4e6d0831f8260f6cf1f8b9f118123d2c4fb86ee1.tar.gz |
[project @ 1999-01-15 15:57:33 by simonm]
Haskell 98 updates.
Diffstat (limited to 'ghc/compiler/HsVersions.h')
-rw-r--r-- | ghc/compiler/HsVersions.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ghc/compiler/HsVersions.h b/ghc/compiler/HsVersions.h index c5663b12dc..f6acb0acb6 100644 --- a/ghc/compiler/HsVersions.h +++ b/ghc/compiler/HsVersions.h @@ -178,4 +178,14 @@ import qualified FastString # define _CONCAT_ concat #endif +#if __HASKELL1__ > 4 +#define FMAP fmap +#define ISALPHANUM isAlphaNum +#define IOERROR ioError +#else +#define FMAP map +#define ISALPHANUM isAlphanum +#define IOERROR fail +#endif + #endif |