From 948f3414468969e6a6ae6dcd0c96d74051a0e81d Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Wed, 12 Dec 2018 22:40:10 +0000 Subject: [PATCH] Added credits to Gatlin --- src/advent12/advent12-comonad.hs | 2 ++ src/advent12/life.hs | 3 +++ 2 files changed, 5 insertions(+) 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 -- 2.34.1