Sha256: a40626635469a976e31fc50cdac95f50c076edaf9c5cf8f84d1dbe117e61e9cd

Contents?: true

Size: 191 Bytes

Versions: 370

Compression:

Stored size: 191 Bytes

Contents

trait BankAccount {

  def closeAccount(): Unit

  def getBalance: Option[Int]

  def incrementBalance(increment: Int): Option[Int]
}

object Bank {
  def openAccount(): BankAccount = ???
}

Version data entries

370 entries across 370 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.118 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.117 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.116 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.115 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.114 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.113 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.111 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.110 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.109 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.108 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.107 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.106 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.105 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.104 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.103 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.102 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.101 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.100 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala
trackler-2.2.1.99 tracks/scala/exercises/bank-account/src/main/scala/BankAccount.scala