beam database (unfinished), overloadedRecordDot, fourmolu, relude
also one fix where the "skip voting and see results" link is broken.
This commit is contained in:
parent
123bbe79b5
commit
cee339a8ed
11 changed files with 438 additions and 102 deletions
|
|
@ -12,13 +12,18 @@ executable rcv-site
|
|||
DeriveAnyClass,
|
||||
DeriveGeneric,
|
||||
DuplicateRecordFields,
|
||||
ExtendedDefaultRules,
|
||||
FlexibleContexts,
|
||||
FlexibleInstances,
|
||||
ImpredicativeTypes,
|
||||
ExtendedDefaultRules,
|
||||
InstanceSigs,
|
||||
MultiParamTypeClasses,
|
||||
NoFieldSelectors,
|
||||
DerivingStrategies,
|
||||
DerivingVia,
|
||||
NamedFieldPuns,
|
||||
OverloadedLabels,
|
||||
OverloadedRecordDot,
|
||||
OverloadedLists,
|
||||
OverloadedStrings,
|
||||
PartialTypeSignatures,
|
||||
|
|
@ -27,6 +32,7 @@ executable rcv-site
|
|||
RecursiveDo,
|
||||
ScopedTypeVariables,
|
||||
StandaloneDeriving,
|
||||
StrictData,
|
||||
TemplateHaskell,
|
||||
TupleSections,
|
||||
TypeApplications,
|
||||
|
|
@ -36,15 +42,25 @@ executable rcv-site
|
|||
UndecidableInstances,
|
||||
hs-source-dirs:
|
||||
src
|
||||
|
||||
|
||||
mixins:
|
||||
base hiding (Prelude),
|
||||
relude (Relude as Prelude),
|
||||
relude
|
||||
|
||||
build-depends:
|
||||
acid-state,
|
||||
aeson,
|
||||
-- beam-sqlite,
|
||||
-- beam-core,
|
||||
-- sqlite-simple,
|
||||
async,
|
||||
relude,
|
||||
base,
|
||||
beam-core,
|
||||
beam-migrate,
|
||||
beam-postgres,
|
||||
bytestring,
|
||||
cereal,
|
||||
commonmark,
|
||||
containers,
|
||||
deepseq,
|
||||
hashable,
|
||||
|
|
@ -53,7 +69,6 @@ executable rcv-site
|
|||
lucid-htmx,
|
||||
mtl,
|
||||
network-uri,
|
||||
commonmark,
|
||||
random,
|
||||
safecopy,
|
||||
servant,
|
||||
|
|
@ -69,11 +84,11 @@ executable rcv-site
|
|||
warp
|
||||
-- warp-tls
|
||||
default-language:
|
||||
Haskell2010
|
||||
GHC2021
|
||||
other-modules:
|
||||
API
|
||||
Database
|
||||
-- BeamDatabase
|
||||
BeamDatabase
|
||||
InstantRunoff
|
||||
Error
|
||||
Poll
|
||||
|
|
@ -81,12 +96,12 @@ executable rcv-site
|
|||
Ballot
|
||||
AppM
|
||||
ghc-options:
|
||||
-Wall
|
||||
-Wcompat
|
||||
-fwarn-redundant-constraints
|
||||
-fwarn-incomplete-uni-patterns
|
||||
-fwarn-tabs
|
||||
-fwarn-incomplete-record-updates
|
||||
-fwarn-identities
|
||||
-threaded
|
||||
-- -Wall
|
||||
-- -Wcompat
|
||||
-- -fwarn-redundant-constraints
|
||||
-- -fwarn-incomplete-uni-patterns
|
||||
-- -fwarn-tabs
|
||||
-- -fwarn-incomplete-record-updates
|
||||
-- -fwarn-identities
|
||||
-- -threaded
|
||||
"-with-rtsopts=-I0 -N"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue