From 335499c628c1cf5749aab9dc8158cb3a3b42cdde Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Tue, 23 Jan 2007 18:30:07 +0000 Subject: [PATCH] IsString is GHC-only (so why is it in the Prelude?) --- Prelude.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Prelude.hs b/Prelude.hs index cae9c25..7126561 100644 --- a/Prelude.hs +++ b/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, -- 1.7.10.4