Sha256: cbd93b22616661bdd0ceb926b049095fedfd9f0d9317ee226620e73949fbdc30

Contents?: true

Size: 273 Bytes

Versions: 52

Compression:

Stored size: 273 Bytes

Contents

module Bowling (score, BowlingError(..)) where

data BowlingError = IncompleteGame
                  | InvalidRoll { rollIndex :: Int, rollValue :: Int }
  deriving (Eq, Show)

score :: [Int] -> Either BowlingError Int
score = error "You need to implement this function."

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
trackler-2.0.8.18 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.17 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.16 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.15 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.14 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.13 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.12 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.11 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.10 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.9 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.8 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.7 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.6 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.5 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.4 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.3 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.2 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.8.1 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.7.0 tracks/haskell/exercises/bowling/src/Bowling.hs
trackler-2.0.6.44 tracks/haskell/exercises/bowling/src/Bowling.hs