packages feed

random-bytestring 0.1.0 → 0.1.1

raw patch · 3 files changed

+37/−10 lines, 3 filesdep ~base

Dependency ranges changed: base

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+0.1.1+=====++*   Support for GHC-8.2.1 and Cabal-2.0+ 0.1.0 ===== 
benchmark/Implementations.hs view
@@ -66,7 +66,7 @@ -- Basic  random ∷ Natural → IO ByteString-random n = (pack . take (fromIntegral n) . randoms) <$> getStdGen+random n = fmap (pack . take (fromIntegral n) . randoms) getStdGen  -- -------------------------------------------------------------------------- -- -- entropy@@ -192,7 +192,7 @@         → Box m         → Maybe (Word8, Box m)     step !gen (Box !s) =-        let (# !s', !b #) = internal (uniform gen ∷ m Word8) s+        let !(# !s', !b #) = internal (uniform gen ∷ m Word8) s         in Just (b, Box s')  -- -------------------------------------------------------------------------- --@@ -216,6 +216,6 @@         → Box IO         → Maybe (Word8, Box IO)     step !gen (Box !s) =-        let (# !s', !b #) = internal (uniform gen ∷ IO Word8) s+        let !(# !s', !b #) = internal (uniform gen ∷ IO Word8) s         in Just (b, Box s') 
random-bytestring.cabal view
@@ -1,8 +1,16 @@ Name: random-bytestring-Version: 0.1.0+Version: 0.1.1 Synopsis: Efficient generation of random bytestrings Description:-    Efficient generation of random bytestrings+    Efficient generation of random bytestrings. The implementation+    populates uninitialized memory with uniformily distributed random+    64 bit words. The words are generated using the PRNG from the+    mwc-random package.++    The generated byte strings are suitable for statistical+    applications. They are /not/ suitable for cryptographic+    applications.+ Homepage: https://www.github.com/larskuhtz/random-bytestring License: MIT Author: Lars Kuhtz <lakuhtz@gmail.com>@@ -11,7 +19,7 @@ Category: System Build-type: Simple Cabal-version: >= 1.18-Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.2+Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.1 License-file: LICENSE  extra-doc-files:@@ -30,7 +38,7 @@         Data.ByteString.Random      build-depends:-        base >= 4.7 && < 4.10 && < 4.10,+        base >= 4.7 && < 4.11,         bytestring >= 0.10,         mwc-random >= 0.13 @@ -49,7 +57,7 @@     build-depends:         random-bytestring,         async >= 2.1,-        base >= 4.7 && < 4.10,+        base >= 4.7 && < 4.11,         bytestring >= 0.10,         criterion >= 1.1 @@ -57,6 +65,9 @@         build-depends:             nats >= 1.1 +    if impl(ghc < 7.10)+        buildable: False+     other-modules:         Benchmarks @@ -69,7 +80,7 @@     build-depends:         random-bytestring,         async >= 2.1,-        base >= 4.7 && < 4.10,+        base >= 4.7 && < 4.11,         bytestring >= 0.10,         criterion >= 1.1,         entropy >= 0.3,@@ -82,6 +93,9 @@         build-depends:             nats >= 1.1 +    if impl(ghc < 7.10)+        buildable: False+     other-modules:         Benchmarks,         Implementations@@ -95,7 +109,7 @@     build-depends:         random-bytestring,         async >= 2.1,-        base >= 4.7 && < 4.10,+        base >= 4.7 && < 4.11,         bytestring >= 0.10,         criterion >= 1.1,         entropy >= 0.3,@@ -103,6 +117,14 @@         mwc-random >= 0.13,         primitive >= 0.6,         random >= 1.1++    if impl(ghc < 7.10)+        build-depends:+            nats >= 1.1++    if impl(ghc < 7.10)+        buildable: False+     other-modules:         Benchmarks,         Implementations