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