Programming in Haskell -- more hasql transactions

preview_player
Показать описание
More work on stopping accounts from going overdrawn. I have a transaction that ensures that the balance update and the creation of the ledger update are guaranteed to happen together, but I need to rollback the transaction if the balance update fails.
Рекомендации по теме