packages feed

MonadRandom 0.3 → 0.3.0.1

raw patch · 3 files changed

+8/−3 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Control.Monad.Random: instance (Error e, MonadRandom m) => MonadRandom (ErrorT e m)
- Control.Monad.Random: instance (Error e, MonadSplit g m) => MonadSplit g (ErrorT e m)
+ Control.Monad.Random: instance MonadRandom m => MonadRandom (ExceptT e m)
+ Control.Monad.Random: instance MonadSplit g m => MonadSplit g (ExceptT e m)

Files

CHANGES.markdown view
@@ -1,3 +1,8 @@+0.3.0.1 (24 November 2014)+--------------------------++  - Improve documentation: ranges are exclusive at the upper bound+ 0.3 (4 September 2014) ---------------------- 
Control/Monad/Random/Class.hs view
@@ -36,10 +36,10 @@     -- 'System.Random.randoms' for details.     getRandoms :: (Random a) => m [a]     -- | Return a randomly-selected value of type @a@ in the range-    -- /(lo,hi)/.  See 'System.Random.randomR' for details.+    -- /[lo,hi]/.  See 'System.Random.randomR' for details.     getRandomR :: (Random a) => (a,a) -> m a     -- | Return an infinite stream of randomly-selected value of type @a@-    -- in the range /(lo,hi)/.  See 'System.Random.randomRs' for details.+    -- in the range /[lo,hi]/.  See 'System.Random.randomRs' for details.     getRandomRs :: (Random a) => (a,a) -> m [a]  -- | An interface to monads with splittable state (as most random number generation monads will have).
MonadRandom.cabal view
@@ -1,5 +1,5 @@ name:                MonadRandom-version:             0.3+version:             0.3.0.1 synopsis:            Random-number generation monad. description:         Support for computations which consume random values. license:             OtherLicense