packages feed

monad-st 0.2.1.1 → 0.2.2

raw patch · 2 files changed

+7/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Control/Monad/ST/Class.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE TypeFamilies, FlexibleInstances, UndecidableInstances #-}+{-# LANGUAGE CPP, TypeFamilies, FlexibleInstances, UndecidableInstances #-} ----------------------------------------------------------------------------- -- | -- Module      :  Control.Monad.ST.Class@@ -13,12 +13,16 @@ module Control.Monad.ST.Class (MonadST(..)) where  import Control.Monad.Trans.Class+#ifdef MIN_VERSION_base(4,4,0)+import Control.Monad.ST.Safe+#else import Control.Monad.ST+#endif  class Monad m => MonadST m where   type World m :: *   liftST :: ST (World m) a -> m a-  + instance MonadST IO where   type World IO = RealWorld   liftST = stToIO
monad-st.cabal view
@@ -1,6 +1,6 @@ name:          monad-st category:      Control, Monads-version:       0.2.1.1+version:       0.2.2 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE