From: Ross Paterson Date: Tue, 23 Jan 2007 18:30:07 +0000 (+0000) Subject: IsString is GHC-only (so why is it in the Prelude?) X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=335499c628c1cf5749aab9dc8158cb3a3b42cdde IsString is GHC-only (so why is it in the Prelude?) --- 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,