packages feed

wuerfelschlange-0.1: wuerfelschlange.cabal

Name:             wuerfelschlange
Version:          0.1
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://code.henning-thielemann.de/wuerfelschlange/
Category:         Math
Synopsis:         Code for the dice chain problem
Description:
  Code for the dice chain problem
  <https://de.wikipedia.org/wiki/Würfelschlange>.
  It is similar to the Kruskal Count.
Tested-With:      GHC==7.4.2, GHC==7.8.4, GHC==8.6.5
Cabal-Version:    1.14
Build-Type:       Simple

Flag buildGraph
  description: Build graph generator
  default:     True

Flag buildMatrix
  description: Build matrix computations
  default:     True

Source-Repository this
  Tag:         0.1
  Type:        darcs
  Location:    http://code.henning-thielemann.de/wuerfelschlange/

Source-Repository head
  Type:        darcs
  Location:    http://code.henning-thielemann.de/wuerfelschlange/

Executable wuerfelschlange-graph
  If flag(buildGraph)
    Build-Depends:
      containers >=0.4 && <0.7,
      base >=4.5 && <5
  Else
    Buildable: False

  Main-Is:          src/Graph.hs
  GHC-Options:      -Wall
  Default-Language: Haskell98

Executable wuerfelschlange-matrix
  If flag(buildMatrix)
    Build-Depends:
      lapack >=0.4 && <0.6,
      netlib-ffi >=0.1.1 && <0.2,
      comfort-array >=0.5 && <0.6,
      utility-ht >=0.0.13 && <0.1,
      base >=4.5 && <5
  Else
    Buildable: False

  Main-Is:          src/Matrix.hs
  GHC-Options:      -Wall
  Default-Language: Haskell98