Changeset 12905
- Timestamp:
- 08/31/06 14:47:04 (2 years ago)
- Location:
- src/Pugs
- Files:
-
- 2 modified
-
Internals.hs (modified) (4 diffs)
-
Monads.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Internals.hs
r12800 r12905 115 115 import System.Directory (Permissions(..), getPermissions, getTemporaryDirectory, createDirectory, removeDirectory, removeFile, getDirectoryContents) 116 116 import Control.Exception (catchJust, errorCalls) 117 import Control.Monad.RWS 117 import Control.Monad.RWS (MonadIO(..), MonadReader(..), MonadState(..), MonadWriter(..), MonadTrans(..), asks, ReaderT(..), WriterT(..), when, join, liftM, filterM, modify, unless, gets, foldM, guard, liftM2, liftM3, fix, mplus, mappend, mzero, mconcat, msum, censor) 118 118 import Control.Monad.Identity (Identity(..)) 119 119 import Control.Monad.Error (MonadError(..)) … … 344 344 ) 345 345 346 -- On GHC 6.6 we actually want to use the builtin forM and forM_ in Control.Monad 346 347 347 348 {-| … … 352 353 (This is just @mapM@ with the arguments reversed.) 353 354 -} 355 {-# INLINE forM #-} 354 356 forM :: (Monad m) 355 357 => [a] -- ^ List of values to loop over … … 365 367 (This is just @mapM_@ with the arguments reversed.) 366 368 -} 369 {-# INLINE forM_ #-} 367 370 forM_ :: (Monad m) 368 371 => [a] -- ^ List of values to loop over -
src/Pugs/Monads.hs
r12324 r12905 21 21 22 22 MaybeT, runMaybeT, 23 24 module Control.Monad.RWS25 23 ) where 26 24 import Pugs.Internals
