-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
539 lines (539 loc) · 11.5 KB
/
package.yaml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
name: advent-of-code
version: !include "./VERSION"
synopsis: My Haskell solutions to Advent of Code problems
author: Eric Bailey
maintainer: [email protected]
license-file: LICENSE
license: MIT
github: yurrriq/advent-of-code
extra-source-files:
- LICENSE
- VERSION
data-files:
- input/*/day*.txt
dependencies:
- base
- bytestring
- comonad
- containers
- lens
- parsers
- split
- tasty
- tasty-hunit
- template-haskell
- text
- trifecta
- unordered-containers
default-extensions:
- TemplateHaskell
ghc-options:
- -Wall
- -Werror
library:
ghc-options:
- -fwarn-incomplete-patterns
source-dirs: src
dependencies:
- aeson
- arithmoi
- astar
- combinatorial
- comonad
- composition
- conduit
- containers
- cryptonite
- data-default
- data-interval
- data-ordlist
- dlist
- extra
- fast-digits
- finite-typelits
- free-algebras
- groups
- hashable
- lens
- linear
- monoid-extras
- mtl
- parser-combinators
- pointless-fun
- recursion-schemes
- safe
- scientific
- transformers
- unordered-containers
- utility-ht
- vector
- vector-sized
- zippers
_executable: &executable
ghc-options:
- -O0
- -threaded
other-modules:
- AdventOfCode.Input
- AdventOfCode.TH
- AdventOfCode.Util
- Paths_advent_of_code
source-dirs: src
executables:
aoc-2015-day06:
<<: *executable
main: AdventOfCode.Year2015.Day06
other-modules:
- AdventOfCode.Input
- AdventOfCode.TH
- AdventOfCode.Util
- Paths_advent_of_code
dependencies:
- containers
- linear
- transformers
aoc-2015-day07:
<<: *executable
main: AdventOfCode.Year2015.Day07
dependencies:
- containers
- mtl
aoc-2015-day08:
<<: *executable
main: AdventOfCode.Year2015.Day08
dependencies:
- recursion-schemes
aoc-2015-day10:
<<: *executable
main: AdventOfCode.Year2015.Day10
aoc-2015-day11:
<<: *executable
main: AdventOfCode.Year2015.Day11
aoc-2015-day12:
<<: *executable
main: AdventOfCode.Year2015.Day12
dependencies:
- aeson
- mtl
- scientific
aoc-2015-day13:
<<: *executable
main: AdventOfCode.Year2015.Day13
aoc-2015-day14:
<<: *executable
main: AdventOfCode.Year2015.Day14
dependencies:
- mtl
aoc-2015-day15:
<<: *executable
main: AdventOfCode.Year2015.Day15
aoc-2015-day16:
<<: *executable
main: AdventOfCode.Year2015.Day16
aoc-2015-day17:
<<: *executable
main: AdventOfCode.Year2015.Day17
aoc-2015-day18:
<<: *executable
main: AdventOfCode.Year2015.Day18
dependencies:
- linear
aoc-2015-day19:
<<: *executable
main: AdventOfCode.Year2015.Day19
aoc-2015-day20:
<<: *executable
main: AdventOfCode.Year2015.Day20
dependencies:
- arithmoi
aoc-2015-day21:
<<: *executable
main: AdventOfCode.Year2015.Day21
dependencies:
- combinatorial
- extra
- linear
- utility-ht
aoc-2015-day22:
<<: *executable
main: AdventOfCode.Year2015.Day22
dependencies:
- astar
- extra
- hashable
- unordered-containers
other-modules:
- AdventOfCode.Input
- AdventOfCode.TH
- AdventOfCode.Util
- AdventOfCode.Year2015.Day22.Types
- Paths_advent_of_code
aoc-2015-day23:
<<: *executable
main: AdventOfCode.Year2015.Day23
dependencies:
- data-default
- mtl
- pointless-fun
- vector
aoc-2015-day24:
<<: *executable
main: AdventOfCode.Year2015.Day24
dependencies:
- safe
aoc-2015-day25:
<<: *executable
main: AdventOfCode.Year2015.Day25
aoc-2016-day05:
<<: *executable
main: AdventOfCode.Year2016.Day05
dependencies:
- containers
- cryptonite
aoc-2017-day01:
<<: *executable
main: AdventOfCode.Year2017.Day01
dependencies:
- vector
aoc-2017-day02:
<<: *executable
main: AdventOfCode.Year2017.Day02
aoc-2017-day03:
<<: *executable
main: AdventOfCode.Year2017.Day03
dependencies:
- containers
- extra
- linear
aoc-2017-day04:
<<: *executable
main: AdventOfCode.Year2017.Day04
aoc-2017-day05:
<<: *executable
main: AdventOfCode.Year2017.Day05
dependencies:
- extra
- zippers
aoc-2017-day06:
<<: *executable
main: AdventOfCode.Year2017.Day06
aoc-2017-day07:
<<: *executable
main: AdventOfCode.Year2017.Day07
dependencies:
- extra
aoc-2017-day08:
<<: *executable
main: AdventOfCode.Year2017.Day08
aoc-2018-day01:
<<: *executable
main: AdventOfCode.Year2018.Day01
aoc-2018-day02:
<<: *executable
main: AdventOfCode.Year2018.Day02
aoc-2018-day03:
<<: *executable
main: AdventOfCode.Year2018.Day03
aoc-2018-day04:
<<: *executable
main: AdventOfCode.Year2018.Day04
aoc-2018-day05:
<<: *executable
main: AdventOfCode.Year2018.Day05
dependencies:
- finite-typelits
- free-algebras
- groups
aoc-2019-day02:
<<: *executable
main: AdventOfCode.Year2019.Day02
dependencies:
- vector
aoc-2019-day03:
<<: *executable
main: AdventOfCode.Year2019.Day03
aoc-2019-day04:
<<: *executable
main: AdventOfCode.Year2019.Day04
dependencies:
- data-ordlist
- fast-digits
aoc-2019-day05:
<<: *executable
main: AdventOfCode.Year2019.Day05
dependencies:
- fast-digits
- mtl
- vector
aoc-2019-day06:
<<: *executable
main: AdventOfCode.Year2019.Day06
aoc-2019-day07:
<<: *executable
main: AdventOfCode.Year2019.Day07
dependencies:
- conduit
- fast-digits
- mtl
- transformers
- vector
aoc-2019-day08:
<<: *executable
main: AdventOfCode.Year2019.Day08
aoc-2019-day09:
<<: *executable
main: AdventOfCode.Year2019.Day09
dependencies:
- conduit
- fast-digits
- mtl
- transformers
- vector
aoc-2019-day10:
<<: *executable
main: AdventOfCode.Year2019.Day10
aoc-2019-day12:
<<: *executable
main: AdventOfCode.Year2019.Day12
dependencies:
- linear
aoc-2020-day01:
<<: *executable
main: AdventOfCode.Year2020.Day01
dependencies:
- groups
aoc-2020-day02:
<<: *executable
main: AdventOfCode.Year2020.Day02
aoc-2020-day03:
<<: *executable
main: AdventOfCode.Year2020.Day03
dependencies:
- vector
aoc-2020-day04:
<<: *executable
main: AdventOfCode.Year2020.Day04
aoc-2020-day05:
<<: *executable
main: AdventOfCode.Year2020.Day05
dependencies:
- fast-digits
aoc-2020-day06:
<<: *executable
main: AdventOfCode.Year2020.Day06
aoc-2020-day07:
<<: *executable
main: AdventOfCode.Year2020.Day07
other-modules:
- AdventOfCode.Input
- AdventOfCode.TH
- AdventOfCode.Util
- Data.Digraph
- Data.Digraph.Lazy
- Paths_advent_of_code
aoc-2020-day08:
<<: *executable
main: AdventOfCode.Year2020.Day08
dependencies:
- comonad
- mtl
aoc-2020-day09:
<<: *executable
main: AdventOfCode.Year2020.Day09
aoc-2020-day10:
<<: *executable
main: AdventOfCode.Year2020.Day10
aoc-2020-day11:
<<: *executable
main: AdventOfCode.Year2020.Day11
dependencies:
- linear
- vector
aoc-2020-day12:
<<: *executable
main: AdventOfCode.Year2020.Day12
dependencies:
- linear
aoc-2020-day14:
<<: *executable
main: AdventOfCode.Year2020.Day14
dependencies:
- mtl
other-modules:
- AdventOfCode.Input
- AdventOfCode.TH
- AdventOfCode.Util
- AdventOfCode.Year2020.Day14.Parsers
- AdventOfCode.Year2020.Day14.Types
- Paths_advent_of_code
aoc-2020-day15:
<<: *executable
main: AdventOfCode.Year2020.Day15
dependencies:
- mtl
aoc-2020-day16:
<<: *executable
main: AdventOfCode.Year2020.Day16
dependencies:
- linear
aoc-2020-day17:
<<: *executable
main: AdventOfCode.Year2020.Day17
dependencies:
- linear
aoc-2020-day18:
<<: *executable
main: AdventOfCode.Year2020.Day18
dependencies:
- parser-combinators
aoc-2020-day19:
<<: *executable
main: AdventOfCode.Year2020.Day19
dependencies:
- recursion-schemes
aoc-2020-day20:
<<: *executable
main: AdventOfCode.Year2020.Day20
dependencies:
- linear
aoc-2021-day01:
<<: *executable
main: AdventOfCode.Year2021.Day01
aoc-2021-day02:
<<: *executable
main: AdventOfCode.Year2021.Day02
dependencies:
- linear
- monoid-extras
aoc-2021-day03:
<<: *executable
main: AdventOfCode.Year2021.Day03
aoc-2021-day04:
<<: *executable
main: AdventOfCode.Year2021.Day04
dependencies:
- recursion-schemes
- safe
aoc-2021-day05:
<<: *executable
main: AdventOfCode.Year2021.Day05
dependencies:
- linear
aoc-2021-day06:
<<: *executable
main: AdventOfCode.Year2021.Day06
dependencies:
- finite-typelits
- linear
- vector
- vector-sized
aoc-2021-day07:
<<: *executable
main: AdventOfCode.Year2021.Day07
aoc-2021-day08:
<<: *executable
main: AdventOfCode.Year2021.Day08
dependencies:
- fast-digits
aoc-2021-day09:
<<: *executable
main: AdventOfCode.Year2021.Day09
dependencies:
- linear
aoc-2021-day10:
<<: *executable
main: AdventOfCode.Year2021.Day10
aoc-2021-day11:
<<: *executable
main: AdventOfCode.Year2021.Day11
dependencies:
- linear
aoc-2022-day01:
<<: *executable
main: AdventOfCode.Year2022.Day01
aoc-2022-day02:
<<: *executable
main: AdventOfCode.Year2022.Day02
dependencies:
- finite-typelits
aoc-2022-day03:
<<: *executable
main: AdventOfCode.Year2022.Day03
aoc-2022-day04:
<<: *executable
main: AdventOfCode.Year2022.Day04
aoc-2022-day05:
<<: *executable
main: AdventOfCode.Year2022.Day05
aoc-2022-day06:
<<: *executable
main: AdventOfCode.Year2022.Day06
aoc-2023-day01:
<<: *executable
main: AdventOfCode.Year2023.Day01
aoc-2023-day02:
<<: *executable
main: AdventOfCode.Year2023.Day02
dependencies:
- extra
- linear
aoc-2023-day03:
<<: *executable
main: AdventOfCode.Year2023.Day03
dependencies:
- fast-digits
- linear
aoc-2023-day04:
<<: *executable
main: AdventOfCode.Year2023.Day04
dependencies:
- extra
aoc-2023-day05:
<<: *executable
main: AdventOfCode.Year2023.Day05
dependencies:
- data-interval
- linear
aoc-2023-day06:
<<: *executable
main: AdventOfCode.Year2023.Day06
dependencies:
- extra
_benchmark: &benchmark
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
source-dirs: bench
dependencies:
- advent-of-code
- criterion
benchmarks:
aoc-2020-day03-bench:
<<: *benchmark
main: Bench.hs
source-dirs: bench/AdventOfCode/Year2020/Day03
aoc-2021-day02-bench:
<<: *benchmark
main: Bench.hs
source-dirs: bench/AdventOfCode/Year2021/Day02
aoc-2022-day02-bench:
<<: *benchmark
main: Bench.hs
source-dirs: bench/AdventOfCode/Year2022/Day02
tests:
advent-of-code-test:
main: Main.hs
ghc-options:
- -O0
- -threaded
source-dirs: test
dependencies:
- advent-of-code
- conduit
- fast-digits
- tasty
- tasty-discover
- tasty-hunit
- vector