2023-08-27 22:30:00 +02:00
|
|
|
cabal-version: 3.0
|
|
|
|
|
name: Y2022
|
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
synopsis: Solutions to Advent of Code 2022
|
|
|
|
|
-- license: NONE
|
|
|
|
|
author: ctsk
|
|
|
|
|
maintainer: bugs@ctsk.xyz
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
|
type: git
|
|
|
|
|
location: https://github.com/ctsk/aoc-2022
|
|
|
|
|
|
|
|
|
|
common warnings
|
2023-08-30 09:32:12 +02:00
|
|
|
ghc-options: -Wall
|
2023-08-27 22:30:00 +02:00
|
|
|
|
2023-08-30 09:32:12 +02:00
|
|
|
common defaults
|
2023-08-27 22:30:00 +02:00
|
|
|
default-language: Haskell2010
|
2023-08-30 09:32:12 +02:00
|
|
|
build-depends:
|
|
|
|
|
base ^>=4.18.0.0
|
|
|
|
|
, extra ^>=1.7.14
|
|
|
|
|
, containers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
library
|
|
|
|
|
import: warnings, defaults
|
2023-08-27 22:30:00 +02:00
|
|
|
hs-source-dirs: src
|
|
|
|
|
exposed-modules:
|
|
|
|
|
Lib
|
2023-08-30 09:32:12 +02:00
|
|
|
other-modules:
|
|
|
|
|
Common
|
2023-08-27 22:30:00 +02:00
|
|
|
Parse
|
2023-08-30 09:32:12 +02:00
|
|
|
Print
|
2023-08-27 22:30:00 +02:00
|
|
|
Util
|
2023-08-28 18:40:38 +02:00
|
|
|
Days.D01
|
|
|
|
|
Days.D02
|
2023-08-29 09:24:31 +02:00
|
|
|
Days.D03
|
2023-08-30 10:02:11 +02:00
|
|
|
Days.D04
|
2023-08-30 12:22:06 +02:00
|
|
|
Days.D05
|
2023-08-31 08:34:48 +02:00
|
|
|
Days.D06
|
2023-08-31 08:41:20 +02:00
|
|
|
Days.D07
|
2023-08-27 22:30:00 +02:00
|
|
|
build-depends:
|
2023-08-30 09:32:12 +02:00
|
|
|
megaparsec ^>=9.4.0
|
2023-08-27 22:30:00 +02:00
|
|
|
, text
|
2023-08-30 12:22:06 +02:00
|
|
|
, vector ^>=0.13.0.0
|
2023-08-27 22:30:00 +02:00
|
|
|
|
|
|
|
|
executable Y2022
|
2023-08-30 09:32:12 +02:00
|
|
|
import: warnings, defaults
|
|
|
|
|
hs-source-dirs: app
|
2023-08-27 22:30:00 +02:00
|
|
|
main-is: Main.hs
|
|
|
|
|
build-depends:
|
|
|
|
|
Y2022
|
2023-08-30 09:32:12 +02:00
|
|
|
|
|
|
|
|
benchmark Y2022-bench
|
|
|
|
|
import: defaults
|
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
hs-source-dirs: bench
|
|
|
|
|
main-is: Bench.hs
|
|
|
|
|
build-depends:
|
|
|
|
|
Y2022
|
|
|
|
|
, criterion ^>=1.6.3.0
|