60ac8f53c830fe125cb0911952f9ea199f37a0f2
[synacor-challenge.git] / synacor.cabal
1 cabal-version: 3.6
2 name: synacor-challenge
3 version: 0.1.0.0
4
5 -- A short (one-line) description of the package.
6 synopsis: Synacor challenge
7
8 -- A longer description of the package.
9 -- description:
10
11 -- A URL where users can report bugs.
12 -- bug-reports:
13
14 -- The license under which the package is released.
15 -- license:
16 author: Neil Smith
17 maintainer: NeilNjae@users.noreply.github.com
18
19 -- A copyright notice.
20 -- copyright:
21 -- category:
22 extra-source-files:
23 CHANGELOG.md
24 README.md
25
26 common common-extensions
27 default-extensions: AllowAmbiguousTypes
28 , ApplicativeDo
29 , BangPatterns
30 , BlockArguments
31 , DataKinds
32 , DeriveFoldable
33 , DeriveFunctor
34 , DeriveGeneric
35 , DeriveTraversable
36 -- , DuplicateRecordFields
37 , EmptyCase
38 , FlexibleContexts
39 , FlexibleInstances
40 , FunctionalDependencies
41 , GADTs
42 , GeneralizedNewtypeDeriving
43 , ImplicitParams
44 , KindSignatures
45 , LambdaCase
46 , MonadComprehensions
47 , MonoLocalBinds
48 , MultiParamTypeClasses
49 , MultiWayIf
50 , NamedFieldPuns
51 , NegativeLiterals
52 , NumDecimals
53 -- , NoFieldSelectors
54 -- , OverloadedLists
55 -- , OverloadedRecordDot
56 , OverloadedStrings
57 , PartialTypeSignatures
58 , PatternGuards
59 , PatternSynonyms
60 , PolyKinds
61 , RankNTypes
62 , RecordWildCards
63 , ScopedTypeVariables
64 , TemplateHaskell
65 -- , TransformListComp
66 , TupleSections
67 , TypeApplications
68 , TypeFamilies
69 , TypeInType
70 , TypeOperators
71 , ViewPatterns
72
73 common build-directives
74 build-depends: base >=4.16
75 default-language: Haskell2010
76 hs-source-dirs: ., app, src
77 other-modules: SynacorEngine
78 ghc-options: -O2
79 -Wall
80 -threaded
81 -rtsopts "-with-rtsopts=-N"
82
83 executable synacor
84 import: common-extensions, build-directives
85 main-is: Main.hs
86 build-depends: split
87 main-is: Main.hs
88
89 -- Modules included in this executable, other than Main.
90 -- other-modules:
91
92 -- LANGUAGE extensions used by modules in this package.
93 -- other-extensions:
94 build-depends: containers, binary, bytestring, mtl, lens
95 hs-source-dirs: app, src
96 default-language: Haskell2010
97
98 executable ackermann
99 import: common-extensions
100 main-is: Main.hs
101 main-is: Ackermann.hs
102 build-depends: base >=4.16, containers, mtl, parallel
103 hs-source-dirs: app, src
104 default-language: Haskell2010
105 hs-source-dirs: ., app, src
106 ghc-options: -O2
107 -Wall
108 -threaded
109 -rtsopts "-with-rtsopts=-N"
110
111
112 executable coinsolver
113 import: common-extensions
114 main-is: Main.hs
115 main-is: CoinSolver.hs
116 build-depends: base >=4.16, containers
117 hs-source-dirs: app, src
118 default-language: Haskell2010
119 hs-source-dirs: ., app, src
120 ghc-options: -O2
121 -Wall
122 -threaded
123 -rtsopts "-with-rtsopts=-N"
124
125 library
126 import: common-extensions
127 build-depends: base >=4.16, containers, binary, bytestring, mtl, lens
128 hs-source-dirs: ., app, src
129 exposed-modules: SynacorEngine