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.20 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.19 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.18 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.17 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.16 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.15 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.14 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.13 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.12 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.11 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.10 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.9 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.8 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.7 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.6 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.5 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.4 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.3 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.2 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.1.0.1 tracks/haskell/exercises/bank-account/src/BankAccount.hs