X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=sidebyside;f=README.html;h=12def06720b94f3ad9d138b5ed301ab12b1df71e;hb=c75086f7805b52a80a8e70ff4f5ba75e33b8ad25;hp=779917d44728047314f6c104aab1d14e7022bf68;hpb=3a2c1aef0f0bd29882326e71c8f377603017ad0f;p=summerofcode2018soln.git diff --git a/README.html b/README.html index 779917d..12def06 100644 --- a/README.html +++ b/README.html @@ -39,9 +39,11 @@

Run interactively with

stack ghci summerofcode2018soln:exe:task1

To profile, use

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

then run with

stack exec -- task1 +RTS -p -hy
+

Make the profile graph visible with

+
/usr/lib/ghc/bin/hp2ps task1.hp

Packages

Stack is using the 12.9-lts resolver for packages, so make sure you read the correct documentation for the packages included in it.

When you use a new package, use