Cabal revisions of random-source-0.3.0.2
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-name: random-source-version: 0.3.0.2-stability: provisional--cabal-version: >= 1.6-build-type: Simple--author: James Cook <james.cook@usma.edu>-maintainer: James Cook <james.cook@usma.edu>-license: PublicDomain-homepage: https://github.com/mokus0/random-fu--category: Math-synopsis: Generic basis for random number generators-description: Random number generation based on entropy sources- able to produce a small but well-defined set of- primitive variates. Also includes facilities for- \"completing\" partial implementations, making it- easy to define new entropy sources in a way that- is naturally forward-compatible.- .- Changes in 0.3.0.2: Fixes for GHC 7.2.*'s crazy- Template Haskell changes.- .- Changes in 0.3.0.1: None except setting dependency- on flexible-defaults >= 0.0.0.2.--tested-with: GHC == 6.8.3, GHC == 6.10.4, GHC == 6.12.3,- GHC == 7.0.4, GHC == 7.2.1, GHC == 7.2.2--source-repository head- type: git- location: https://github.com/mokus0/random-fu.git- subdir: random-source--Flag base4- Description: base-4 and above do not include syb--Flag mtl2- Description: mtl-2 has State, etc., as "type" rather than "newtype"--Library- ghc-options: -Wall- hs-source-dirs: src- exposed-modules: Data.Random.Source- Data.Random.Source.IO- Data.Random.Source.PureMT- Data.Random.Source.Std- Data.Random.Source.StdGen- Data.Random.Internal.Words- Data.Random.Internal.Source- other-modules: Data.Random.Internal.Prim- Data.Random.Internal.TH- - if impl(ghc >= 6.10)- -- mwc-random depends on vector, which doesn't build on GHC < 6.10.- -- I considered breaking this module out into another package, but I- -- think this is sufficient; anyone compiling something which wants- -- this module has pretty much no hope of working on earlier GHCs anyway,- -- because the mwc-random library won't have built successfully.- -- And if they want to get their hands dirty fixing that, altering- -- this cabal file is hardly any additional effort.- exposed-modules: Data.Random.Source.MWC- build-depends: mwc-random- - if flag(mtl2)- build-depends: mtl == 2.*- cpp-options: -DMTL2- else- build-depends: mtl == 1.*- - if flag(base4)- build-depends: base >= 4 && <5, syb- else- build-depends: base >= 3 && <4- - build-depends: flexible-defaults >= 0.0.0.2,- mersenne-random-pure64,- random,- stateref >= 0.3 && < 0.4,- template-haskell,- th-extras-- if os(Windows)- cpp-options: -Dwindows- else- exposed-modules: Data.Random.Source.DevRandom+name: random-source +version: 0.3.0.2 +x-revision: 1 +stability: provisional + +cabal-version: >= 1.6 +build-type: Simple + +author: James Cook <james.cook@usma.edu> +maintainer: James Cook <james.cook@usma.edu> +license: PublicDomain +homepage: https://github.com/mokus0/random-fu + +category: Math +synopsis: Generic basis for random number generators +description: Random number generation based on entropy sources + able to produce a small but well-defined set of + primitive variates. Also includes facilities for + \"completing\" partial implementations, making it + easy to define new entropy sources in a way that + is naturally forward-compatible. + . + Changes in 0.3.0.2: Fixes for GHC 7.2.*'s crazy + Template Haskell changes. + . + Changes in 0.3.0.1: None except setting dependency + on flexible-defaults >= 0.0.0.2. + +tested-with: GHC == 6.8.3, GHC == 6.10.4, GHC == 6.12.3, + GHC == 7.0.4, GHC == 7.2.1, GHC == 7.2.2 + +source-repository head + type: git + location: https://github.com/mokus0/random-fu.git + subdir: random-source + +Flag base4 + Description: base-4 and above do not include syb + +Flag mtl2 + Description: mtl-2 has State, etc., as "type" rather than "newtype" + +Library + ghc-options: -Wall + hs-source-dirs: src + exposed-modules: Data.Random.Source + Data.Random.Source.IO + Data.Random.Source.PureMT + Data.Random.Source.Std + Data.Random.Source.StdGen + Data.Random.Internal.Words + Data.Random.Internal.Source + other-modules: Data.Random.Internal.Prim + Data.Random.Internal.TH + + if impl(ghc >= 6.10) + -- mwc-random depends on vector, which doesn't build on GHC < 6.10. + -- I considered breaking this module out into another package, but I + -- think this is sufficient; anyone compiling something which wants + -- this module has pretty much no hope of working on earlier GHCs anyway, + -- because the mwc-random library won't have built successfully. + -- And if they want to get their hands dirty fixing that, altering + -- this cabal file is hardly any additional effort. + exposed-modules: Data.Random.Source.MWC + build-depends: mwc-random + + if flag(mtl2) + build-depends: mtl == 2.* + cpp-options: -DMTL2 + else + build-depends: mtl == 1.* + + if flag(base4) + build-depends: base >= 4 && <4.5, syb + else + build-depends: base >= 3 && <4 + + build-depends: flexible-defaults >= 0.0.0.2, + mersenne-random-pure64, + random, + stateref >= 0.3 && < 0.4, + template-haskell, + th-extras + + if os(Windows) + cpp-options: -Dwindows + else + exposed-modules: Data.Random.Source.DevRandom