X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=12def06720b94f3ad9d138b5ed301ab12b1df71e;hb=refs%2Fheads%2Fmaster;hp=779917d44728047314f6c104aab1d14e7022bf68;hpb=d2a2d1c85fd037cf95999bfbde1f80cb9fa37f5d;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