Tidied code
[advent-of-code-16.git] / README.md
1 ---
2 title: "Advent of Code 2016"
3 output:
4 html_document:
5 css: modest.css
6 ---
7 <link rel="stylesheet" href="modest.css"></link>
8
9 # Advent of Code 2016
10
11 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).
12
13 [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.
14
15 I'm using the basic Haskell Platform installation (install with
16 ```
17 $ sudo aptitude install haskell-platform
18 ```
19 ).
20
21 Compile the code with
22 ```
23 ghc -o advent01 advent01.hs
24 ```
25
26 then run it as
27 ```
28 advent01
29 ```
30
31 (Using the [Modest styles](https://github.com/markdowncss/modest).)