velveteer / aoc2020

Solutions for Advent of Code 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2020

Solutions to https://adventofcode.com.

Requirements

This repository prescribes no package management beyond Hackage dependencies.

You need ghc and cabal-install to compile and run the code.

Quick Install

  1. Get ghcup
  2. Install ghc
ghcup install ghc 8.10
  1. Install cabal-install
ghcup install cabal
  1. (Optional) Install ghcid
cabal install ghcid
  1. (Optional) Install doctest
cabal install doctest

REPL

Fire up GHCi

cabal repl

Or fire up the GHCi daemon

ghcid

This will reload the interpreter and run doctests on every file save. Requires both ghcid and doctest to be on your PATH.

About

Solutions for Advent of Code 2020


Languages

Language:Haskell 100.0%