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
Part 1 done
[advent-of-code-19.git]
/
README.md
diff --git
a/README.md
b/README.md
index d5207a3c26d61f575b171688fbeab533d43b20ae..ba5265bc3c9b7d778e1c56d56fc8307e6fac5f19 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-61,14
+61,19
@@
Run interactively with
```
stack ghci advent01
```
```
stack ghci advent01
```
+or
+```
+stack ghci advent01:exe:advent01
+```
+if the first form is ambiguous.
To profile, use
```
To profile, use
```
-stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"
+stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"
advent01
```
then run with
```
```
then run with
```
-stack exec -- advent01 +RTS -p -hy
+stack exec --
profile --
advent01 +RTS -p -hy
```
Generate the profile graph with
```
```
Generate the profile graph with
```