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.2.1.180 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.179 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.178 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.177 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.176 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.175 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.174 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.173 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.172 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.171 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.170 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.169 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.167 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.166 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.165 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.164 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.163 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.162 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.161 tracks/haskell/exercises/bank-account/src/BankAccount.hs
trackler-2.2.1.160 tracks/haskell/exercises/bank-account/src/BankAccount.hs