Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 42c63b1972
Fetching contributors…

Cannot retrieve contributors at this time

file 52 lines (47 sloc) 1.817 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
name: monte-carlo
version: 0.3
license: BSD3
license-file: LICENSE
author: Patrick Perry
maintainer: Patrick Perry <patperry@gmail.com>
homepage: http://github.com/patperry/hs-monte-carlo
category: Math
synopsis: A monad and transformer for Monte Carlo calculations.
description: A monad and transformer for Monte Carlo calculations. The
                monads carry and provide access to a random number generator.
                Importantly, they only keep one copy of the generator state,
                and so are much more efficient than MonadRandom. Currently,
                only the generator that comes with the GNU Scientific Library
                (GSL) is supported.
build-type: Simple
stability: experimental
cabal-version: >= 1.2.3
extra-source-files: NEWS examples/Pi.lhs examples/Sampling.hs
                    examples/Poker.hs examples/Queue.hs tests/Main.hs
                    tests/Makefile

library
    exposed-modules:
            Control.Monad.MC
            Control.Monad.MC.Class
            Control.Monad.MC.GSL
            Data.Summary
            Data.Summary.Bool
            Data.Summary.Double
            Data.Summary.Utils
            
    other-modules:
            Control.Monad.MC.Base
            Control.Monad.MC.GSLBase
            Control.Monad.MC.Repeat
            Control.Monad.MC.Sample
            Control.Monad.MC.Walker
          
    extensions:
            FlexibleInstances,
            MultiParamTypeClasses,
            TypeFamilies,
            UndecidableInstances

    build-depends: base >= 4 && < 5,
                    gsl-random >= 0.3.1,
                    mtl >= 1.1 && < 1.2,
                    vector >= 0.6 && < 0.7

    hs-source-dirs: lib
    ghc-options: -Wall
Something went wrong with that request. Please try again.