summaryrefslogtreecommitdiff
path: root/libraries/base/Prelude.hs
diff options
context:
space:
mode:
authorRoss Paterson <ross@soi.city.ac.uk>2007-01-23 18:30:07 +0000
committerRoss Paterson <ross@soi.city.ac.uk>2007-01-23 18:30:07 +0000
commitcb089d87c69f4f0537a610232c4db7b31f7d5ed5 (patch)
tree062036691c648eb5c245fafae7bea14aaa180171 /libraries/base/Prelude.hs
parent7663ed18fd587b5cb95df40fe43b292d16b1167b (diff)
downloadhaskell-cb089d87c69f4f0537a610232c4db7b31f7d5ed5.tar.gz
IsString is GHC-only (so why is it in the Prelude?)
Diffstat (limited to 'libraries/base/Prelude.hs')
-rw-r--r--libraries/base/Prelude.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/Prelude.hs b/libraries/base/Prelude.hs
index cae9c25c57..7126561b79 100644
--- a/libraries/base/Prelude.hs
+++ b/libraries/base/Prelude.hs
@@ -80,8 +80,10 @@ module Prelude (
Functor(fmap),
mapM, mapM_, sequence, sequence_, (=<<),
+#ifdef __GLASGOW_HASKELL__
-- ** String class
IsString(fromString),
+#endif
-- ** Miscellaneous functions
id, const, (.), flip, ($), until,