Sha256: e6d022d54dd066188c121cbccd89d951efe0a77a52507b6055adbccde85ce733

Contents?: true

Size: 176 Bytes

Versions: 216

Compression:

Stored size: 176 Bytes

Contents

sealed trait Bowling {
  def roll(pins: Int): Bowling

  def score(): Either[Error, Int]
}

object Bowling {
  def apply(): Bowling = ???
}

case class Error(errorText: String)

Version data entries

216 entries across 216 versions & 1 rubygems

Version Path
trackler-2.1.0.53 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.52 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.51 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.50 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.49 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.48 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.47 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.46 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.45 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.44 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.43 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.42 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.41 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.40 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.39 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.38 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.37 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.36 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.34 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala
trackler-2.1.0.33 tracks/scala/exercises/bowling/src/main/scala/Bowling.scala