Main
Description
https://adventofcode.com/2015/day/18
type Lights = UArray Coord Bool Source #
main :: IO () Source #
countLights :: Lights -> Int Source #
type Rule = Lights -> Coord -> Bool Source #
applyRule :: Rule -> Lights -> Lights Source #
life :: Rule Source #
addCorners :: Rule -> Rule Source #