projects
/
advent-of-code-19.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Done day 2
[advent-of-code-19.git]
/
README.md
diff --git
a/README.md
b/README.md
index aa3689e9ac689ab55ba05a026a538e023830f838..4430c77d886bfae6ca59c787d11f96a4db3c2ec9 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-1,5
+1,5
@@
---
---
-title: "Advent of Code 201
8
"
+title: "Advent of Code 201
9
"
output: html_document
css: modest.css
---
output: html_document
css: modest.css
---
@@
-39,6
+39,8
@@
Modify the `stack.yaml` file as needed, such as adding the `ghc-options` stanza.
Each day lives in a separate directory within the `src` directory. It will also need it's own stanza in `advent-of-code.cabal`.
Each day lives in a separate directory within the `src` directory. It will also need it's own stanza in `advent-of-code.cabal`.
+Stack configuration taken from https://github.com/mstksg/advent-of-code-2018
+
Compile with
```
stack build
Compile with
```
stack build
@@
-60,7
+62,7
@@
stack exec -- advent01 +RTS -K0 -RTS
Run interactively with
```
Run interactively with
```
-stack ghci advent
-of-code:exe:advent
01
+stack ghci advent01
```
To profile, use
```
To profile, use