This is a Haskell module written by the official campaign for The New Electoral College. Here are it's key features:
- Calculating the number of wasted votes (see definition below) in an election held under Party-List proportional representation
- Produces breakdown of wasted votes by party
- Unlimited number of parties
- Hare, Droop, Hagenbach-Bischoff, and Imperiali quotas
This program was written, compiled, and tested using the following:
- Haskell 2010
- Glasgow Haskell Compiler, version 9.0.1
- Cabal, version 3.4.0.0
- VSCode