Now uses a Reader monad
[advent-of-code-19.git] / README.md
index d5207a3c26d61f575b171688fbeab533d43b20ae..1c6a5d4af3b3be64c8e9a9c71ede59bac3fc73d3 100644 (file)
--- 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.
 
@@ -61,14 +61,19 @@ Run interactively with
 ```
 stack ghci advent01
 ```
+or 
+```
+stack ghci advent01:exe:advent01
+```
+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
 ```