A bank ledger
Process a day of banking from a ledger file. Transactions become an enum, every rule is checked with Result and the ? operator, transfers never leave money half-moved, and each account gets a statement.
Milestones
- Accounts in a map
- Transactions as an enum
- Rules that can't be broken
- Transfers that never half-happen
- Polish: history and statements