X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-18.git;a=blobdiff_plain;f=src%2Fadvent12%2Flife.hs;h=18d141046bab8c351c6e82cb9d52c1444a5dcf0f;hp=840ac8ce04d22e26755bccbc4a3a1457832de953;hb=948f3414468969e6a6ae6dcd0c96d74051a0e81d;hpb=bb244d2255e1a7e93450df36cfe0145728b50b3d 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