Applicative and Monad instances for Tree
[haskell-directory.git] / Prelude.hs
index 2f0a510..cae9c25 100644 (file)
@@ -80,6 +80,9 @@ module Prelude (
     Functor(fmap),
     mapM, mapM_, sequence, sequence_, (=<<),
 
+    -- ** String class
+    IsString(fromString),
+
     -- ** Miscellaneous functions
     id, const, (.), flip, ($), until,
     asTypeOf, error, undefined,
@@ -153,6 +156,8 @@ import Data.Either
 import Data.Maybe
 import Data.Bool
 import Data.Tuple
+import Data.Eq
+import Data.Ord
 #endif
 
 #ifdef __GLASGOW_HASKELL__
@@ -172,9 +177,6 @@ import GHC.Err   ( error, undefined )
 import Hugs.Prelude
 #endif
 
-import Data.Eq
-import Data.Ord
-
 #ifndef __HUGS__
 infixr 0 $!