Changeset 3740 for src/Pugs/Internals.hs
- Timestamp:
- 05/23/05 16:57:32 (4 years ago)
- svk:copy_cache_prev:
- 5329
- Files:
-
- 1 modified
-
src/Pugs/Internals.hs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Internals.hs
r3690 r3740 23 23 module Data.Dynamic, 24 24 module Data.Unique, 25 module Data.FunctorM, 25 26 module Control.Exception, 26 27 module System.Environment, … … 66 67 unsafePerformSTM, 67 68 possiblyFixOperatorName, 69 maybeM, 68 70 ) where 69 71 … … 98 100 import Data.Maybe 99 101 import Data.Either 102 import Data.FunctorM 100 103 import Data.List ( 101 104 (\\), find, genericLength, insert, sortBy, intersperse, … … 184 187 -- instance MonadIO STM where 185 188 -- liftIO = unsafeIOToSTM 189 190 maybeM :: (FunctorM f, Monad m) => m (f a) -> (a -> m b) -> m (f b) 191 maybeM f m = fmapM m =<< f 186 192 187 193 {-|
