From: Neil Smith Date: Tue, 3 Dec 2019 16:44:26 +0000 (+0000) Subject: Updated readme for ghci calls X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=commitdiff_plain;h=50e8668a3cc39a2bdcfdb7d13b506263307e5f45;ds=sidebyside Updated readme for ghci calls --- diff --git a/README.html b/README.html index 16c04e1..dd8744b 100644 --- a/README.html +++ b/README.html @@ -39,6 +39,9 @@
stack exec -- advent01 +RTS -K0 -RTS

Run interactively with

stack ghci advent01
+

or

+
stack ghci advent01:exe:advent01
+

if the first form is ambiguous.

To profile, use

stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"

then run with

diff --git a/README.md b/README.md index d5207a3..3c08dac 100644 --- 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 ```