-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaoc2023.cabal
86 lines (72 loc) · 1.74 KB
/
aoc2023.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
cabal-version: 3.0
name: aoc2023
version: 0.1.0.0
synopsis: Advent of Code 2023 solutions
homepage: https://github.com/typesafety/aoc2023
license: MIT
license-file: LICENSE
author: Thomas Li
maintainer: ailoodee@gmail.com
common warnings
ghc-options:
-Wall
library
import:
warnings,
exposed-modules:
MyPrelude
Solutions.Day01
Solutions.Day02
Solutions.Day03
Solutions.Day04
Solutions.Day05
Solutions.Day06
Solutions.Day07
Solutions.Day08
Solutions.Day09
Solutions.Day10
Solutions.Day11
Solutions.Day12
Solutions.Day13
Solutions.Day14
Solutions.Day15
Solutions.Day16
build-depends:
base ^>= 4.18.1.0,
-- Standard data structures.
containers,
-- For the Hashable class and instances.
hashable,
-- One-dimensional arrays.
javelin,
-- Ergonomic records.
optics,
-- For parsing puzzle input.
megaparsec,
-- For Reader/State.
mtl,
-- For easy prettyprinting.
pretty-simple,
-- To avoid String.
text,
-- Show instances and functions for Text.
text-show,
-- Hashmaps are not part of containers.
unordered-containers,
hs-source-dirs:
src
default-language: GHC2021
executable aoc2023
import:
warnings,
main-is: Main.hs
build-depends:
base ^>= 4.18.1.0,
aoc2023,
filepath,
optparse-applicative,
hs-source-dirs:
app
other-modules:
GHCI
default-language: GHC2021