]> Git — Sourcephile - majurity.git/blob - hjugement.cabal
Fix ghcid support.
[majurity.git] / hjugement.cabal
1 name: hjugement
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 2.0.0.20181030
6 category: Politic
7 synopsis: Majority Judgment.
8 description:
9 A library for the <http://libgen.io/book/index.php?md5=BF67AA4298C1CE7633187546AA53E01D Majority Judgment>.
10 .
11 The Majority Judgment is <http://libgen.io/book/index.php?md5=BF67AA4298C1CE7633187546AA53E01D judged by its authors>
12 to be “superior to any known method of voting
13 and to any known method of judging competitions,
14 in theory and in practice”.
15 .
16 For introductory explanations, you can read:
17 .
18 * the accompanying README.md file (en),
19 * Marjolaine Leray's comic: <https://www.lechoixcommun.fr/articles/Vous_reprendrez_bien_un_peu_de_democratie-2.html Vous reprendrez bien un peu de démocratie ?> (fr),
20 * the dedicated web sites: <https://mieuxvoter.fr> (fr) and <https://lechoixcommun.fr> (fr),
21 * a press article I've written: <http://autogeree.net/~julm/txt/jugement_majoritaire.pdf> (fr),
22 * or watch: Rida Laraki's conference: <https://mixitconf.org/2017/majority-judgment Le Jugement Majoritaire> (fr).
23 .
24 For comprehensive studies, you can read Michel Balinski and Rida Laraki's:
25 .
26 * textbook: <http://libgen.io/book/index.php?md5=BF67AA4298C1CE7633187546AA53E01D Majority Judgment: Measuring, Ranking, and Electing> (en)
27 * cahier: <http://www.lamsade.dauphine.fr/sites/default/IMG/pdf/cahier_377.pdf Majority Judgment vs. Majority Rule> (en)
28 * paper: <https://1007421605497013616-a-1802744773732722657-s-sites.googlegroups.com/site/ridalaraki/xfiles/BalinskiLarakiJudgeDontVotecahierderecherche2010-27.pdf Judge : Don't Vote!> (en)
29 * article: <https://www.cairn.info/revue-francaise-d-economie-2012-4-page-11.htm Jugement majoritaire versus vote majoritaire (via les présidentielles 2011-2012)> (fr).
30 .
31 And, if you do not mind to dive into a quick and poorly documented code,
32 you can also play around with a Python macro to Libre Office
33 that I've written and embedded into this spreadsheet:
34 <http://autogeree.net/~julm/txt/jugements.ods>.
35 extra-doc-files: README.md
36 license: GPL-3
37 license-file: COPYING
38 stability: experimental
39 author: Julien Moutinho <julm+hjugement@autogeree.net>
40 maintainer: Julien Moutinho <julm+hjugement@autogeree.net>
41 bug-reports: Julien Moutinho <julm+hjugement@autogeree.net>
42 -- homepage:
43
44 build-type: Simple
45 cabal-version: 1.24
46 tested-with: GHC==8.4.3
47 extra-source-files:
48 stack.yaml
49 extra-tmp-files:
50
51 Source-Repository head
52 location: git://git.autogeree.net/hjugement
53 type: git
54
55 Library
56 exposed-modules:
57 Majority.Gauge
58 Majority.Judgment
59 Majority.Merit
60 Majority.Section
61 Majority.Value
62 default-language: Haskell2010
63 default-extensions:
64 NoImplicitPrelude
65 NamedFieldPuns
66 ghc-options:
67 -Wall
68 -Wincomplete-uni-patterns
69 -Wincomplete-record-updates
70 -fno-warn-tabs
71 -- -fhide-source-paths
72 build-depends:
73 base >= 4.6 && < 5
74 , containers >= 0.5
75 , hashable >= 1.2.6
76 -- , transformers >= 0.5.2
77 , unordered-containers >= 0.2.8
78
79 Test-Suite hjugement-test
80 type: exitcode-stdio-1.0
81 hs-source-dirs: test
82 main-is: Main.hs
83 other-modules:
84 HUnit
85 QuickCheck
86 Types
87 default-language: Haskell2010
88 default-extensions:
89 NoImplicitPrelude
90 ghc-options:
91 -Wall
92 -Wincomplete-uni-patterns
93 -Wincomplete-record-updates
94 -fno-warn-tabs
95 -- -fhide-source-paths
96 build-depends:
97 hjugement
98 , base >= 4.6 && < 5
99 , containers >= 0.5
100 , hashable >= 1.2.6
101 , QuickCheck >= 2.0
102 , random >= 1.1
103 , tasty >= 0.11
104 , tasty-hunit >= 0.9
105 , tasty-quickcheck
106 , text >= 1.2
107 , transformers >= 0.5
108 , unordered-containers >= 0.2.8