Skip to content

Commit

Permalink
lib: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Sep 27, 2018
1 parent f42b140 commit 2960c92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hledger-lib/Hledger/Data/Journal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ journalAccountNameTree = accountNameTreeFrom . journalAccountNames
-- Cf <http://en.wikipedia.org/wiki/Chart_of_accounts#Profit_.26_Loss_accounts>.
journalProfitAndLossAccountQuery :: Journal -> Query
journalProfitAndLossAccountQuery j = Or [journalIncomeAccountQuery j
,journalExpenseAccountQuery j
]
,journalExpenseAccountQuery j
]

-- | A query for Income (Revenue) accounts in this journal.
-- This is currently hard-coded to the case-insensitive regex @^(income|revenue)s?(:|$)@.
Expand All @@ -298,9 +298,9 @@ journalExpenseAccountQuery _ = Acct "^expenses?(:|$)"
-- Cf <http://en.wikipedia.org/wiki/Chart_of_accounts#Balance_Sheet_Accounts>.
journalBalanceSheetAccountQuery :: Journal -> Query
journalBalanceSheetAccountQuery j = Or [journalAssetAccountQuery j
,journalLiabilityAccountQuery j
,journalEquityAccountQuery j
]
,journalLiabilityAccountQuery j
,journalEquityAccountQuery j
]

-- | A query for Asset accounts in this journal.
-- This is currently hard-coded to the case-insensitive regex @^assets?(:|$)@.
Expand Down

0 comments on commit 2960c92

Please sign in to comment.