projects
/
advent-of-code-19.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34400b8
)
Updated readme for ghci calls
author
Neil Smith
<neil.git@njae.me.uk>
Tue, 3 Dec 2019 16:44:26 +0000
(16:44 +0000)
committer
Neil Smith
<neil.git@njae.me.uk>
Tue, 3 Dec 2019 16:44:26 +0000
(16:44 +0000)
README.html
patch
|
blob
|
history
README.md
patch
|
blob
|
history
diff --git
a/README.html
b/README.html
index 16c04e174f38c644c32c3887b81db80a996b2aea..dd8744b070a5ed6d51a9133c11a0a9e8dc581d16 100644
(file)
--- a/
README.html
+++ b/
README.html
@@
-39,6
+39,9
@@
<pre><code>stack exec -- advent01 +RTS -K0 -RTS</code></pre>
<p>Run interactively with</p>
<pre><code>stack ghci advent01</code></pre>
+<p>or</p>
+<pre><code>stack ghci advent01:exe:advent01</code></pre>
+<p>if the first form is ambiguous.</p>
<p>To profile, use</p>
<pre><code>stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"</code></pre>
<p>then run with</p>
diff --git
a/README.md
b/README.md
index d5207a3c26d61f575b171688fbeab533d43b20ae..3c08dac9befd9dbc2144d01b1be1d87192b1ff4c 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-61,6
+61,11
@@
Run interactively with
```
stack ghci advent01
```
+or
+```
+stack ghci advent01:exe:advent01
+```
+if the first form is ambiguous.
To profile, use
```