|
|
1 هفته پیش | |
|---|---|---|
| .. | ||
| README.md | 6 روز پیش | |
| exchange.md | 6 روز پیش | |
| overdraft.md | 6 روز پیش | |
| retail.md | 6 روز پیش | |
| runnable.md | 6 روز پیش | |
| Example | Shows |
|---|---|
| Overdraft and the shortfall posting | A debit larger than the balance: a negative posting on an account that permits it, InsufficientFunds on one that does not |
| Currency exchange | Deposit, a two-leg cross-asset trade, withdrawal, and books scoping the two flows |
| Retail point of sale | Inventory as assets, a sale recording COGS, cash deposited to bank |
| Runnable programs | The four programs in crates/kuatia/examples/, included from source |
The exchange and retail chapters are walkthroughs: the code is real but the
accounts are declared inline rather than built into a program you can run. The
overdraft and runnable chapters include programs cargo test compiles.