X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=a85b3e3862b72a69b374c6bdbd6fbb2018239392;hb=e78bf6ce47d6ce753313cfe6a7d669e10b716d66;hp=7bffdaa8d1e090570dc1fd0cebb1d75d9d42f768;hpb=a24758c516142d460d7302da070a2443cd713f29;p=advent-of-code-16.git diff --git a/README.html b/README.html index 7bffdaa..a85b3e3 100644 --- a/README.html +++ b/README.html @@ -17,16 +17,21 @@

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

$ sudo aptitude install haskell-platform

).

-

I'm also using the MissingH and Parsec-number 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 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 -rstopts
+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.)

+

(Using the Modest style.)