Done day 14
[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 some extra libraries (install with
17 ```
18 $ cabal install MissingH
19 $ cabal install parsec-number
20 $ cabal install cryptonite
21 ```
22 )
23
24 Compile the code with
25 ```
26 ghc --make advent01.hs
27 ```
28
29 then run it as
30 ```
31 advent01
32 ```
33
34 Build this readme file wth
35 ```
36 pandoc -s README.md > README.html
37 ```
38
39 (Using the [Modest styles](https://github.com/markdowncss/modest).)