Sha256: 891cbdd2d757de84d46389986ede325dad652f01a2f8b1b25b01bd7389cccfd1

Contents?: true

Size: 608 Bytes

Versions: 277

Compression:

Stored size: 608 Bytes

Contents

module BankAccount
    ( BankAccount
    , closeAccount
    , getBalance
    , incrementBalance
    , openAccount
    ) where

data BankAccount = Dummy

closeAccount :: BankAccount -> IO ()
closeAccount account = error "You need to implement this function."

getBalance :: BankAccount -> IO (Maybe Integer)
getBalance account = error "You need to implement this function."

incrementBalance :: BankAccount -> Integer -> IO (Maybe Integer)
incrementBalance account amount = error "You need to implement this function."

openAccount :: IO BankAccount
openAccount = error "You need to implement this function."

Version data entries

277 entries across 277 versions & 1 rubygems

Version Path
trackler-2.1.0.41 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.40 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.39 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.38 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.37 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.36 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.34 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.33 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.32 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.31 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.30 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.29 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.28 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.27 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.26 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.25 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.24 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.23 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.22 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.21 tracks/haskell/exercises/bank-account/src/BankAccount.hs