pure-shuffle 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+11/−3 lines, 3 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Algorithms.Random.Shuffle.Pure: type GetRandR m = (Int, Int) -> m Int
Files
- ChangeLog.md +5/−1
- pure-shuffle.cabal +2/−2
- src/Algorithms/Random/Shuffle/Pure.hs +4/−0
ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.1.0.1++- Fix: forgot to export `GetRandR` type synonym.+ # 0.1.0.0 -Initial release.+- Initial release.
pure-shuffle.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 6e5bfd39fb0a167814d318d75427324ceecb88041d12b97776c20c18223e8905+-- hash: 75acbb9070dba3a7870d802790cd3bb9dee920df1ffbc3e5eef2d6e2991ffc0c name: pure-shuffle-version: 0.1.0.0+version: 0.1.0.1 description: Please see the README on GitLab at <https://gitlab.com/igrep/pure-shuffle#readme> category: Algorithms homepage: https://gitlab.com/igrep/pure-shuffle#readme
src/Algorithms/Random/Shuffle/Pure.hs view
@@ -3,6 +3,7 @@ module Algorithms.Random.Shuffle.Pure ( shuffle , sampleOne+ , GetRandR ) where @@ -10,6 +11,9 @@ import qualified Data.Sequences as S import qualified System.Random.Shuffle as RS ++-- | Monadic action generating an index number for shuffling.+-- The type parameter 'm' is usually some @Monad@. type GetRandR m = (Int, Int) -> m Int