X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=blobdiff_plain;f=README.md;h=1c6a5d4af3b3be64c8e9a9c71ede59bac3fc73d3;hp=3c08dac9befd9dbc2144d01b1be1d87192b1ff4c;hb=HEAD;hpb=50e8668a3cc39a2bdcfdb7d13b506263307e5f45 diff --git a/README.md b/README.md index 3c08dac..1c6a5d4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ title: "Advent of Code 2019" output: html_document css: modest.css --- -Code to solve the [Advent of Code](http://adventofcode.com/2019/) puzzles. This year, I'm using the puzzles to develop my skills in [Haskell](https://wiki.haskell.org/Haskell). +Code to solve the [Advent of Code](http://adventofcode.com/2019/) puzzles. This year, I'm using the puzzles to develop my skills in [Haskell](https://wiki.haskell.org/Haskell). I'm writing up a [commentary on these puzzles and my solutions](https://work.njae.me.uk/tag/advent-of-code/) on my blog. [Learn you a Haskell](http://learnyouahaskell.com/chapters), [Introduction to Haskell 98](https://www.haskell.org/tutorial/index.html), and [Hackage](https://hackage.haskell.org/) are good resources. @@ -69,11 +69,11 @@ if the first form is ambiguous. To profile, use ``` -stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" +stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" advent01 ``` then run with ``` -stack exec -- advent01 +RTS -p -hy +stack exec --profile -- advent01 +RTS -p -hy ``` Generate the profile graph with ```