initial attempt to see how far i could get with s -> (# m a , s #) monad flavor
[packages/random.git] / random.cabal
index a28063c..2bc6e1f 100644 (file)
@@ -1,70 +1,72 @@
-name:          random
-version:       1.1
-
-
-
-
-license:       BSD3
-license-file:  LICENSE
-maintainer:    core-libraries-committee@haskell.org
-bug-reports:   https://github.com/haskell/random/issues
-synopsis:      random number library
-category:       System
-description:
-       This package provides a basic random number generation
-       library, including the ability to split random number
-       generators.
-
-extra-source-files:
-  .travis.yml
-  README.md
-  CHANGELOG.md
-  .gitignore
-  .darcs-boring
-
-
-
-build-type: Simple
--- cabal-version 1.8 needed because "the field 'build-depends: random' refers
--- to a library which is defined within the same package"
-cabal-version: >= 1.8
-
-
-
-Library
-    exposed-modules:
-        System.Random
-    extensions:        CPP
-    GHC-Options: -O2
-    build-depends: base >= 3 && < 5, time
-
-source-repository head
-    type:     git
-    location: https://github.com/haskell/random.git
-
--- To run the Test-Suite:
--- $ cabal configure --enable-tests
--- $ cabal test --show-details=always --test-options="+RTS -M1M -RTS"
-
-Test-Suite T7936
-    type:           exitcode-stdio-1.0
-    main-is:        T7936.hs
-    hs-source-dirs: tests
-    build-depends:  base >= 3 && < 5, random
-    ghc-options:    -rtsopts -O2
-
-Test-Suite TestRandomRs
-    type:           exitcode-stdio-1.0
-    main-is:        TestRandomRs.hs
-    hs-source-dirs: tests
-    build-depends:  base >= 3 && < 5, random
-    ghc-options:    -rtsopts -O2
-    -- TODO. Why does the following not work?
-    --test-options:   +RTS -M1M -RTS
-
-Test-Suite TestRandomIOs
-    type:           exitcode-stdio-1.0
-    main-is:        TestRandomIOs.hs
-    hs-source-dirs: tests
-    build-depends:  base >= 3 && < 5, random
-    ghc-options:    -rtsopts -O2
+-- Initial random.cabal generated by cabal init.  For further
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+-- The name of the package.
+name:                random
+
+-- The package version.  See the Haskell package versioning policy (PVP)
+-- for standards guiding when and how versions should be incremented.
+-- https://wiki.haskell.org/Package_versioning_policy
+-- PVP summary:      +-+------- breaking API changes
+--                   | | +----- non-breaking API additions
+--                   | | | +--- code changes with no API change
+version:             2.0.0.0
+
+-- A short (one-line) description of the package.
+synopsis:            Random number generation library for haskell
+
+-- A longer description of the package.
+-- description:
+
+-- URL for the project homepage or repository.
+homepage:            http://github.com/cartazio/random
+
+-- The license under which the package is released.
+license:             BSD2
+
+-- The file containing the license text.
+license-file:        LICENSE
+
+-- The package author(s).
+author:              Carter Tazio Schonwald
+
+-- An email address to which users can send suggestions, bug reports, and
+-- patches.
+maintainer:          carter at wellposed dot com
+
+-- A copyright notice.
+-- copyright:
+
+category:            Math
+
+build-type:          Simple
+
+-- Extra files to be distributed with the package, such as examples or a
+-- README.
+extra-source-files:  ChangeLog.md
+
+-- Constraint on the version of Cabal needed to build this package.
+cabal-version:       >=1.10
+
+
+library
+  -- Modules exported by the library.
+  exposed-modules:  System.Random.SplitMix.Internal
+
+  -- Modules included in this library but not exported.
+  -- other-modules:
+
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+
+  -- Other library packages from which modules are imported.
+  build-depends:       base >=4.8 && <4.10, ghc-prim
+
+  -- Directories containing source files.
+  hs-source-dirs:      src
+
+  ghc-options: -O2
+
+  -- Base language which the package is written in.
+  default-language:    Haskell2010
+