summaryrefslogtreecommitdiffstats
path: root/app/Data/Ledger.hs
diff options
context:
space:
mode:
authorRutger Broekhoff2025-07-23 20:25:55 +0200
committerRutger Broekhoff2025-07-23 20:25:55 +0200
commit29b26dcbc1404925bbf12cddd66f7fcd3c57cfe7 (patch)
tree9a6d7e7a83b7627bbe29e30c658b991bf45b62f7 /app/Data/Ledger.hs
parent16103a4d886605b49bc2f21f06eb99513e4fac60 (diff)
downloadrdcapsis-main.tar.gz
rdcapsis-main.zip
Diffstat (limited to 'app/Data/Ledger.hs')
-rw-r--r--app/Data/Ledger.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Data/Ledger.hs b/app/Data/Ledger.hs
index 53901cb..4aa5137 100644
--- a/app/Data/Ledger.hs
+++ b/app/Data/Ledger.hs
@@ -94,8 +94,8 @@ data Account = Account
94-- cleared and the balance of the account agrees with the amount in the 94-- cleared and the balance of the account agrees with the amount in the
95-- assertion. 95-- assertion.
96data BalAssert = BalAssert 96data BalAssert = BalAssert
97 { account :: Account, 97 { account :: AccountId,
98 amount :: Integer, 98 amount :: Money,
99 labels :: Labels 99 labels :: Labels
100 } 100 }
101 101
@@ -108,8 +108,8 @@ data Tx = Tx
108 } 108 }
109 deriving (Show, Generic) 109 deriving (Show, Generic)
110 110
111data SeqTx = SeqTx [Integer] Tx 111-- data SeqTx = SeqTx [Integer] Tx
112 112
113data LedgerEntry = TxEntry SeqTx | BalAssertEntry BalAssert 113data Entry = TxEntry Tx | BalAssertEntry BalAssert
114 114
115data Ledger = Ledger [LedgerEntry] 115data Ledger = Ledger [Entry]