Sha256: 7aa61cd16e04fdcf56ed4917e7b27d8064732cc9067dbdcb9f102fba2d6d7c69
Contents?: true
Size: 436 Bytes
Versions: 277
Compression:
Stored size: 436 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 board = error "You need to implement this function." territoryFor :: [String] -> Coord -> Maybe (Set Coord, Maybe Color) territoryFor board coord = error "You need to implement this function."
Version data entries
277 entries across 277 versions & 1 rubygems