Vocabulary
bank

Inputs
transactionsan object


Outputs
balancean object


Definition


: total ( transactions -- balance ) [ amount>> ] map-sum ;