initial attempt to see how far i could get with s -> (# m a , s #) monad flavor
[packages/random.git] / random.cabal
index 1536111..2bc6e1f 100644 (file)
@@ -1,23 +1,72 @@
-name:          random
-version:       1.0.0.4
-license:       BSD3
-license-file:  LICENSE
-maintainer:    rrnewton@gmail.com
-bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/random
-synopsis:      random number library
-category:       System
-description:
-       This package provides a random number library.
-build-type: Simple
-Cabal-Version: >= 1.6
-
-Library
-    exposed-modules:
-        System.Random
-    extensions:        CPP
-    build-depends: base >= 3 && < 5, time
-
-source-repository head
-    type:     git
-    location: http://darcs.haskell.org/packages/random.git/
+-- 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