Updated readme
[advent-of-code-16.git] / README.md
1 ---
2 title: "Advent of Code 2016"
3 output: html_document
4 css: modest.css
5 ---
6 Code to solve the [Advent of Code](http://adventofcode.com/2016/) puzzles. This year, I'm trying to use the puzzles as a prompt to learn [Haskell](https://wiki.haskell.org/Haskell).
7
8 [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.
9
10 I'm using the basic Haskell Platform installation (install with
11 ```
12 $ sudo aptitude install haskell-platform
13 ```
14 ).
15
16 I'm also using the `MissingH` and `Parsec-number` libraries (install with
17 ```
18 $ cabal install MissingH
19 $ cabal install parsec-number
20 ```
21 )
22
23 Compile the code with
24 ```
25 ghc --make advent01.hs
26 ```
27
28 then run it as
29 ```
30 advent01
31 ```
32
33 Build this readme file wth
34 ```
35 pandoc -s README.md > README.html
36 ```
37
38 (Using the [Modest styles](https://github.com/markdowncss/modest).)