From: Neil Smith Date: Wed, 12 Dec 2018 22:40:10 +0000 (+0000) Subject: Added credits to Gatlin X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=948f3414468969e6a6ae6dcd0c96d74051a0e81d;p=advent-of-code-18.git Added credits to Gatlin --- diff --git a/src/advent12/advent12-comonad.hs b/src/advent12/advent12-comonad.hs index 9e46240..c566d75 100644 --- a/src/advent12/advent12-comonad.hs +++ b/src/advent12/advent12-comonad.hs @@ -1,5 +1,7 @@ {-# LANGUAGE OverloadedStrings, DeriveFunctor #-} +-- Heavily based on https://gist.github.com/gatlin/21d669321c617836a317693aef63a3c3 + -- import Data.List import Data.Text (Text) diff --git a/src/advent12/life.hs b/src/advent12/life.hs index 840ac8c..18d1410 100644 --- a/src/advent12/life.hs +++ b/src/advent12/life.hs @@ -1,5 +1,8 @@ {-# LANGUAGE DeriveFunctor #-} +-- From https://gist.github.com/gatlin/21d669321c617836a317693aef63a3c3 + + import Control.Applicative import Control.Comonad