Sha256: 1e8971a07346b25908f4f584f651a2374b33ce82ce4fef86019de04be4c20d84

Contents?: true

Size: 348 Bytes

Versions: 67

Compression:

Stored size: 348 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 = undefined

territoryFor :: [String] -> Coord -> Maybe (Set Coord, Maybe Color)
territoryFor = undefined

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
trackler-2.0.6.11 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.10 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.9 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.8 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.7 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.6 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.5 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.4 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.3 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.2 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.1 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.6.0 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.18 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.17 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.16 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.15 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.14 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.13 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.12 tracks/haskell/exercises/go-counting/src/Counting.hs
trackler-2.0.5.11 tracks/haskell/exercises/go-counting/src/Counting.hs