X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=009bd00a3ec8e895d684c2b148732be465b5b17f;hb=5a91723e71215afc4c48e48f932e72a32e859094;hp=1ece8ec72e6c9e5f3d7e30456c23e11d35d05f03;hpb=7e9b5d3480d529e0f44bc3244018330f7edd7830;p=advent-of-code-16.git diff --git a/README.html b/README.html index 1ece8ec..009bd00 100644 --- a/README.html +++ b/README.html @@ -17,15 +17,19 @@

I'm using the basic Haskell Platform installation (install with

$ sudo aptitude install haskell-platform

).

-

I'm also using some extra libraries (install with

+

I'm also using some extra libraries. Before installing, run cabal update then set library-profiling: True in ~/.cabal/config . Then install the packages with

$ cabal install MissingH
-$ cabal install parsec-number
-$ cabal install cryptonite
-

)

+$ cabal install parsec-numbers +$ cabal install cryptonite +$ cabal install pqueue

Compile the code with

ghc --make advent01.hs

then run it as

advent01
+

If you're profiling, compile and run with

+
ghc -O2 --make advent01.hs -prof -auto-all -caf-all -fforce-recomp
+time ./advent01 +RTS -p -hy
+

and create the profile picture with h2ps advent01.hp .

Build this readme file wth

pandoc -s README.md > README.html

(Using the Modest styles.)