Sha256: 81595fd224f64bedb4c0825948355517361b9c2f854c3e9f4b33928e5e522aeb
Contents?: true
Size: 418 Bytes
Versions: 52
Compression:
Stored size: 418 Bytes
Contents
module Counting ( Color(..), territories, territoryFor ) where import Data.Set (Set) data Color = Black | White deriving (Eq, Ord, Show) type Coord = (Int, Int) territories :: [String] -> [(Set Coord, Maybe Color)] territories = error "You need to implement this function." territoryFor :: [String] -> Coord -> Maybe (Set Coord, Maybe Color) territoryFor = error "You need to implement this function."
Version data entries
52 entries across 52 versions & 1 rubygems