packages feed

Cabal revisions of perfect-vector-shuffle-0.1.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-cabal-version:      2.2-category:           Random, Vector-build-type:         Simple--name:               perfect-vector-shuffle-synopsis:           Library for performing vector shuffles-version:            0.1.0--author:             Callan McGill-maintainer:         callan.mcgill@gmail.com-homepage:           https://github.com/Boarders/perfect-vector-shuffle-bug-reports:        https://github.com/Boarders/perfect-vector-shuffle/issues-copyright:          2019-license:            BSD-3-Clause-description:-    .-    This package contains functions for performing shuffles on mutable and-    immutable vectors. The shuffles are uniform at random amongst all-    permuations.-    .-    For an example of how to use it:-    .-    @-        module Example where-        .-        import Data.Vector-        import Immutable.Shuffle-        .-        myVector :: Vector Int-        myVector = fromList [1..10]-        .-        shuffleMyVector :: IO (Vector Int)-        shuffleMyVector = shuffleM myVector-    @-    .-    This gives the following:-    .-    @-    > shuffleMyVector-    [1,10,4,7,2,3,5,9,8,6]-    > shuffleMyVector-    [7,4,2,10,9,8,6,5,1,3]-    @--extra-source-files: CHANGELOG.md--source-repository head-  type:     git-  location: https://github.com/Boarders/perfect-vector-shuffle---Library--  hs-source-dirs:   src--  ghc-options:      -Wall--  build-depends:    base        ^>= 4.12.0.0-                  , MonadRandom >= 0.5.1.1  && < 0.6-                  , primitive   >= 0.6.4.0  && < 0.7-                  , random      ^>= 1.1-                  , vector      >= 0.12.0   && < 0.13--  exposed-modules:  Immutable.Shuffle-                    Mutable.Shuffle--  other-modules:--  default-language: Haskell2010---Test-Suite testsuite--  type:             exitcode-stdio-1.0--  main-is:          Test.hs--  hs-source-dirs:   test--  ghc-options:      -Wall-                    -Wincomplete-patterns--  build-depends:    perfect-vector-shuffle ^>= 0.1.0-                  , base                   ^>= 4.12.0.0-                  , QuickCheck             ^>= 2.12.6.1-                  , random                 ^>= 1.1-                  , tasty                  >= 1.2    && < 1.3-                  , tasty-quickcheck       ^>= 0.10-                  , vector                 >= 0.12.0 && < 0.13-                  , quickcheck-instances   >= 0.3.19 && < 0.4---  other-modules:-                    Immutable.Test--  default-language: Haskell2010+cabal-version:      2.2
+category:           Random, Vector
+build-type:         Simple
+
+name:               perfect-vector-shuffle
+synopsis:           Library for performing vector shuffles
+version:            0.1.0
+x-revision: 1
+
+author:             Callan McGill
+maintainer:         callan.mcgill@gmail.com
+homepage:           https://github.com/Boarders/perfect-vector-shuffle
+bug-reports:        https://github.com/Boarders/perfect-vector-shuffle/issues
+copyright:          2019
+license:            BSD-3-Clause
+description:
+    .
+    This package contains functions for performing shuffles on mutable and
+    immutable vectors. The shuffles are uniform at random amongst all
+    permuations.
+    .
+    For an example of how to use it:
+    .
+    @
+        module Example where
+        .
+        import Data.Vector
+        import Immutable.Shuffle
+        .
+        myVector :: Vector Int
+        myVector = fromList [1..10]
+        .
+        shuffleMyVector :: IO (Vector Int)
+        shuffleMyVector = shuffleM myVector
+    @
+    .
+    This gives the following:
+    .
+    @
+    > shuffleMyVector
+    [1,10,4,7,2,3,5,9,8,6]
+    > shuffleMyVector
+    [7,4,2,10,9,8,6,5,1,3]
+    @
+
+extra-source-files: CHANGELOG.md
+
+source-repository head
+  type:     git
+  location: https://github.com/Boarders/perfect-vector-shuffle
+
+
+Library
+
+  hs-source-dirs:   src
+
+  ghc-options:      -Wall
+
+  build-depends:    base        >= 4.9      && < 4.15
+                  , MonadRandom >= 0.5.1.1  && < 0.6
+                  , primitive   >= 0.6.4    && < 0.8
+                  , random      ^>= 1.1
+                  , vector      >= 0.12.0   && < 0.13
+
+  exposed-modules:  Immutable.Shuffle
+                    Mutable.Shuffle
+
+  other-modules:
+
+  default-language: Haskell2010
+
+
+Test-Suite testsuite
+
+  type:             exitcode-stdio-1.0
+
+  main-is:          Test.hs
+
+  hs-source-dirs:   test
+
+  ghc-options:      -Wall
+                    -Wincomplete-patterns
+
+
+  build-depends:    perfect-vector-shuffle ^>= 0.1.0
+                  , base                   >= 4.9    && < 4.15
+                  , QuickCheck             >= 2.13   && < 2.15
+                  , random                 >= 1.1    && < 1.2
+                  , tasty                  >= 1.2    && < 1.3
+                  , tasty-quickcheck       ^>= 0.10
+                  , vector                 >= 0.12.0 && < 0.13
+                  , quickcheck-instances   >= 0.3.19 && < 0.4
+
+  other-modules:
+                    Immutable.Test
+
+  default-language: Haskell2010
revision 2
 name:               perfect-vector-shuffle
 synopsis:           Library for performing vector shuffles
 version:            0.1.0
-x-revision: 1
+x-revision: 2
 
 author:             Callan McGill
 maintainer:         callan.mcgill@gmail.com
                     -Wincomplete-patterns
 
 
-  build-depends:    perfect-vector-shuffle ^>= 0.1.0
-                  , base                   >= 4.9    && < 4.15
-                  , QuickCheck             >= 2.13   && < 2.15
-                  , random                 >= 1.1    && < 1.2
-                  , tasty                  >= 1.2    && < 1.3
-                  , tasty-quickcheck       ^>= 0.10
-                  , vector                 >= 0.12.0 && < 0.13
-                  , quickcheck-instances   >= 0.3.19 && < 0.4
+  build-depends:    perfect-vector-shuffle
+                  , base
+                  , QuickCheck
+                  , random
+                  , tasty
+                  , tasty-quickcheck
+                  , vector
+                  , quickcheck-instances
 
   other-modules:
                     Immutable.Test