packages feed

bordacount-0.1.0.0: bordacount.cabal

name:                bordacount
version:             0.1.0.0
synopsis:            Implementation of the Borda count election method.
description:
    Implementation of the Borda count election method, optionally with
    different weights for different participants.
    .
    See <https://en.wikipedia.org/wiki/Borda_count>
homepage:            https://github.com/hverr/bordacount#readme
license:             BSD3
license-file:        LICENSE
author:              Henri Verroken
maintainer:          henriverroken@gmail.com
copyright:           2017 Henri Verroken
category:            Algorithms
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.Voting.BordaCount
  build-depends:       base >= 4.7 && < 5
                     , containers
  default-language:    Haskell2010

test-suite bordacount-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bordacount
                     , hspec
                     , QuickCheck
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/hverr/bordacount