summaryrefslogtreecommitdiffstats
path: root/app/Data/Ledger.hs
diff options
context:
space:
mode:
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]