IsString is GHC-only (so why is it in the Prelude?)
[ghc-base.git] / Prelude.hs
index 840c2ca..7126561 100644 (file)
@@ -80,6 +80,11 @@ module Prelude (
     Functor(fmap),
     mapM, mapM_, sequence, sequence_, (=<<),
 
+#ifdef __GLASGOW_HASKELL__
+    -- ** String class
+    IsString(fromString),
+#endif
+
     -- ** Miscellaneous functions
     id, const, (.), flip, ($), until,
     asTypeOf, error, undefined,