X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=blobdiff_plain;f=README.md;h=4430c77d886bfae6ca59c787d11f96a4db3c2ec9;hp=1d363c8c15d5bc57d64586abd309815ac6c02340;hb=af70adae9b90e29d42fb10e32d0cfd040bd4e354;hpb=73861022e114fe3b2d6625301f4ac5fc973a8a6e diff --git a/README.md b/README.md index 1d363c8..4430c77 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Modify the `stack.yaml` file as needed, such as adding the `ghc-options` stanza. Each day lives in a separate directory within the `src` directory. It will also need it's own stanza in `advent-of-code.cabal`. +Stack configuration taken from https://github.com/mstksg/advent-of-code-2018 + Compile with ``` stack build @@ -60,7 +62,7 @@ stack exec -- advent01 +RTS -K0 -RTS Run interactively with ``` -stack ghci advent-of-code:exe:advent01 +stack ghci advent01 ``` To profile, use