add missing type signatures, for tags
This commit is contained in:
parent
2eb5f40875
commit
2c989522da
@ -425,6 +425,7 @@ postingamount =
|
|||||||
return a
|
return a
|
||||||
) <|> return missingamt
|
) <|> return missingamt
|
||||||
|
|
||||||
|
someamount :: GenParser Char st MixedAmount
|
||||||
someamount = try leftsymbolamount <|> try rightsymbolamount <|> nosymbolamount
|
someamount = try leftsymbolamount <|> try rightsymbolamount <|> nosymbolamount
|
||||||
|
|
||||||
leftsymbolamount :: GenParser Char st MixedAmount
|
leftsymbolamount :: GenParser Char st MixedAmount
|
||||||
|
|||||||
@ -35,4 +35,5 @@ accountNamesFromTransactions ts = nub $ map account ts
|
|||||||
sumTransactions :: [Transaction] -> MixedAmount
|
sumTransactions :: [Transaction] -> MixedAmount
|
||||||
sumTransactions = sum . map amount
|
sumTransactions = sum . map amount
|
||||||
|
|
||||||
|
nulltxn :: Transaction
|
||||||
nulltxn = Transaction 0 False (parsedate "1900/1/1") "" "" nullmixedamt RegularPosting
|
nulltxn = Transaction 0 False (parsedate "1900/1/1") "" "" nullmixedamt RegularPosting
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user