) where
#ifdef __GLASGOW_HASKELL__
-import GHC.Base ( Int, Monad(..), (.), not )
+import GHC.Base ( Int, Monad(..), IsString(..), (.), not )
import GHC.Err ( undefined )
import GHC.Exception ( block, unblock, throw, catchException )
import GHC.IOBase ( IO, IORef, newIORef, readIORef, writeIORef, )
otherwise = True
\end{code}
+\begin{code}
+class IsString a where
+ fromString :: String -> a
+
+instance IsString [Char] where
+ fromString xs = xs
+\end{code}
+
%*********************************************************
%* *
Functor(fmap),
mapM, mapM_, sequence, sequence_, (=<<),
+ -- ** String class
+ IsString(fromString),
+
-- ** Miscellaneous functions
id, const, (.), flip, ($), until,
asTypeOf, error, undefined,