summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-01-30 16:50:31 +1100
committerJed Barber <jjbarber@y7mail.com>2017-01-30 16:50:31 +1100
commit678baabb7af6a45aee6199550514f97010605555 (patch)
tree19f505c7a3f37d437cf863c5a0db016a47755c26 /src
parentb522e9d882dbce729e3c32df59b8d51c60e7b7d9 (diff)
Now licensed under CC0
Diffstat (limited to 'src')
-rw-r--r--src/CSV.hs10
-rw-r--r--src/Candidate.hs10
-rw-r--r--src/Counter.hs10
-rw-r--r--src/Election.hs10
-rw-r--r--src/File.hs10
-rw-r--r--src/Miscellaneous.hs10
-rw-r--r--src/Preferences.hs10
-rw-r--r--src/Storage.hs10
-rw-r--r--src/main.hs12
9 files changed, 92 insertions, 0 deletions
diff --git a/src/CSV.hs b/src/CSV.hs
index 05fb472..dd56961 100644
--- a/src/CSV.hs
+++ b/src/CSV.hs
@@ -12,6 +12,16 @@ module CSV(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import Text.ParserCombinators.Parsec ( (<|>), (<?>) )
import qualified Text.ParserCombinators.Parsec as Parsec
import qualified Data.Char as Char
diff --git a/src/Candidate.hs b/src/Candidate.hs
index d07ce14..21f9736 100644
--- a/src/Candidate.hs
+++ b/src/Candidate.hs
@@ -11,6 +11,16 @@ module Candidate(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified CSV as CSV
import qualified Miscellaneous as Misc
import qualified System.IO as IO
diff --git a/src/Counter.hs b/src/Counter.hs
index bc23671..2bcd2d7 100644
--- a/src/Counter.hs
+++ b/src/Counter.hs
@@ -14,6 +14,16 @@ module Counter(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified Candidate as Typ
import qualified Preferences as Pref
import qualified CSV as CSV
diff --git a/src/Election.hs b/src/Election.hs
index ff9706b..a475f0e 100644
--- a/src/Election.hs
+++ b/src/Election.hs
@@ -8,6 +8,16 @@ module Election(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified System.IO as IO
import qualified System.Exit as Ex
import qualified Control.Monad as Con
diff --git a/src/File.hs b/src/File.hs
index 01b33af..5e4dce8 100644
--- a/src/File.hs
+++ b/src/File.hs
@@ -5,6 +5,16 @@ module File(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified System.IO as IO
diff --git a/src/Miscellaneous.hs b/src/Miscellaneous.hs
index ba9ca98..8081c93 100644
--- a/src/Miscellaneous.hs
+++ b/src/Miscellaneous.hs
@@ -10,6 +10,16 @@ module Miscellaneous(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified Control.Monad as Con
import qualified Data.List as List
import qualified Data.Maybe as Maybe
diff --git a/src/Preferences.hs b/src/Preferences.hs
index b40accb..abdd89d 100644
--- a/src/Preferences.hs
+++ b/src/Preferences.hs
@@ -9,6 +9,16 @@ module Preferences(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified Candidate as Typ
import qualified Text.ParserCombinators.Parsec as Parsec
import qualified Data.List as List
diff --git a/src/Storage.hs b/src/Storage.hs
index be9b8af..2c0504d 100644
--- a/src/Storage.hs
+++ b/src/Storage.hs
@@ -11,6 +11,16 @@ module Storage(
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import Data.Int ( Int8 )
import Preferences ( Preference )
import qualified Data.Vector.Unboxed.Mutable as Vec
diff --git a/src/main.hs b/src/main.hs
index 4059d3b..8ed8bb8 100644
--- a/src/main.hs
+++ b/src/main.hs
@@ -1,5 +1,17 @@
+
+
+-- This source is licensed under Creative Commons CC0 v1.0.
+
+-- To read the full text, see license.txt in the main directory of this repository
+-- or go to https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
+
+-- For a human readable summary, go to https://creativecommons.org/publicdomain/zero/1.0/
+
+
+
+
import qualified System.Environment as Env
import qualified System.Console.GetOpt as Opt
import qualified System.Exit as Ex