TOOL | VERSION | via | notes |
---|---|---|---|
GHCi | 9.2.7 | ghci --version | Day 01 & 02 |
cabal | 3.10.2.0 | cabal --version | Day 03 - 04 |
cabal GHCi | 9.8.1 | cabal repl | Day 03 - 04 |
DAY | Part A | Part B | ghci | build tool | profiling |
---|---|---|---|---|---|
01 - 02 | ✓ | ✓ | ✓ | _ | _ |
03 - 04 | ✓ | ✓ | cabal repl | _ |
NOTE: copy & save input data into days/XX/input-XX.txt
$ cd days/XX
then:
$ ghci
λ :l day-XX.hs
λ main
-- or --
$ cabal repl
λ main
-- or --
$ cabal run <pkg name> && hp2ps -e8in -c <pkg name>.hp