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.0.8.36 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.35 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.34 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.33 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.32 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.31 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.30 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.29 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.28 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.27 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.26 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.24 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.23 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.22 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.21 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.20 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.0.8.19 tracks/haskell/exercises/bank-account/src/BankAccount.hs