X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=916c577914204de7221867eca95a26dfc1028e87;hb=8e595f23837d5efb625ba2c0dacf470bdd5ccb06;hp=16c04e174f38c644c32c3887b81db80a996b2aea;hpb=806af597077178544c39ffbe022a1a666de1676f;p=advent-of-code-19.git diff --git a/README.html b/README.html index 16c04e1..916c577 100644 --- a/README.html +++ b/README.html @@ -39,10 +39,13 @@ <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> +<pre><code>stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" advent01</code></pre> <p>then run with</p> -<pre><code>stack exec -- advent01 +RTS -p -hy</code></pre> +<pre><code>stack exec --profile -- advent01 +RTS -p -hy</code></pre> <p>Generate the profile graph with</p> <pre><code>stack exec hp2ps advent01.hp</code></pre> <h1 id="packages">Packages</h1>