5 -- A short (one-line) description of the package.
6 synopsis: Solutions for the Advent of Code 2022
8 -- A longer description of the package.
11 -- A URL where users can report bugs.
14 -- The license under which the package is released.
17 maintainer: NeilNjae@users.noreply.github.com
19 -- A copyright notice.
26 common common-extensions
27 default-extensions: AllowAmbiguousTypes
39 , FunctionalDependencies
41 , GeneralizedNewtypeDeriving
47 , MultiParamTypeClasses
54 , PartialTypeSignatures
70 common build-directives
71 build-depends: base >=4.16
72 default-language: Haskell2010
76 -rtsopts "-with-rtsopts=-N"
78 executable advent-of-code22
81 -- Modules included in this executable, other than Main.
84 -- LANGUAGE extensions used by modules in this package.
86 build-depends: base ^>=4.16.4.0
88 default-language: Haskell2010
91 import: common-extensions, build-directives
92 main-is: advent01/Main.hs
95 import: common-extensions, build-directives
96 main-is: advent02/Main.hs
97 build-depends: text, attoparsec