projects
/
advent-of-code-16.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Variious implementations
[advent-of-code-16.git]
/
README.md
diff --git
a/README.md
b/README.md
index a4e1d71cbfeebd5a53a84a186e9f79c7e0ea12b6..5663158d2c8e117d5d580f44233e16e1c86243ec 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-13,13
+13,13
@@
$ 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 MissingH
-$ cabal install parsec-number
+$ cabal install parsec-number
s
$ cabal install cryptonite
$ cabal install cryptonite
+$ cabal install pqueue
```
```
-)
Compile the code with
```
Compile the code with
```
@@
-31,6
+31,14
@@
then run it as
advent01
```
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
Build this readme file wth
```
pandoc -s README.md > README.html