o      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()* + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~            1FA platform string is a string value from or for the operating system, F such as a file path or command-line argument (or environment variable's G name or value ?). On some platforms (such as unix) these are not real G unicode strings but have some encoding such as UTF-8. This alias does , no type enforcement but aids code clarity. \Join multi-line strings as side-by-side rectangular strings of the same height, top-padded. _Join multi-line strings as side-by-side rectangular strings of the same height, bottom-padded. .Compose strings vertically and right-aligned. XConvert a multi-line string to a rectangular string top-padded to the specified height. [Convert a multi-line string to a rectangular string bottom-padded to the specified height. XConvert a multi-line string to a rectangular string left-padded to the specified width. YConvert a multi-line string to a rectangular string right-padded to the specified width. NClip a multi-line string to the specified width and height from the top left. IClip and pad a multi-line string to fill the specified width and height. EConvert a possibly encoded platform string to a real unicode string. ; We decode the UTF-8 encoding recommended for unix systems  (cf http:www.dwheeler.comessays"fixing-unix-linux-filenames.html) $ and leave anything else unchanged. @Convert a unicode string to a possibly encoded platform string. . On unix we encode with the recommended UTF-8  (cf http:www.dwheeler.comessays"fixing-unix-linux-filenames.html) & and elsewhere we leave it unchanged. A version of error that' s better at displaying unicode. A version of userError that' s better at displaying unicode. #List just the leaf nodes of a tree Iget the sub-tree rooted at the first (left-most, depth-first) occurrence  of the specified node value Cget the sub-tree for the specified node value in the first tree in  forest in which it occurs. &remove all nodes past a certain depth apply f to all tree nodes 9remove all subtrees whose nodes do not fulfill predicate (is predicate true in any node of tree ? .show a compact ascii representation of a tree 0show a compact ascii representation of a forest 9trace (print on stdout at runtime) a showable expression < (for easily tracing in the middle of a complex expression) 5labelled trace - like strace, with a label prepended Gmonadic trace - like strace, but works as a standalone line in a monad 1trace an expression using a custom show function !"#$%&' Get a Test's label, or the empty string. (AFlatten a Test containing TestLists into a list of single tests. )CFilter TestLists in a Test, recursively, preserving the structure. *FSimple way to assert something is some expected value, with no label. +JAssert a parse result is successful, printing the parse error on failure. ,SAssert a parse result is some expected value, printing the parse error on failure. -./0      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'( )*+, !"-./#$%&'()*+,-./01  !"#$%&'()*+,-./01  !"#$%&'()*+,-./0m1JA generic, pure specification of how to filter transactions and postings. 23"only include if in this date span 4only include if cleared/ uncleared/don't care 5only include if real/don't care 6%include if empty (ie amount is zero) 7"convert all amounts to cost basis 80only include if matching these account patterns 94only include if matching these description patterns :)which dates to use (actual or effective) ;<=>?postings in this account @0sum of postings in this account and subaccounts ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqthis transaction'!s postings (co-recursive types). rstuvwxyz this posting'+s parent transaction (co-recursive types). 4 Tying this knot gets tedious, Maybe makes it easier/ optional. {|}~ unit price/0conversion rate for this amount at posting time  the commodity' s symbol 3 display preferences for amounts of this commodity 2should the symbol appear on the left or the right 4should there be a space between symbol and quantity $should thousands be comma-separated $number of decimal places to display m123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~m{~}|stuvwxyzijklmnopqrefghabcd[`_^]\VWXYZQRSTUFGHIJKLMNOPABCDE<=>?@123456789:;m1 23456789:;23456789:;<=>?@=>?@ABCDEBCDEF GHIJKLMNOPGHIJKLMNOPQRSTURSTUVWXYZWXYZ[`_^]\\]^_`abcdbcdefghfghi jklmnopqrjklmnopqrstuvwxyztuvwxyz{~}||}~4OSplit a DateSpan into one or more consecutive spans at the specified interval. ECount the days in a DateSpan, or if it is open-ended return Nothing. 'Does the span include the given date ? BCombine two datespans, filling any unspecified dates in the first  with dates from the second. DParse a period expression to an Interval and overall DateSpan using 7 the provided reference date, or return a parse error. EShow a DateSpan as a human-readable pseudo-period-expression string. EConvert a single smart date string to a date span using the provided $ reference date, or raise an error. /Convert a smart date string to an explicit yyyy/mm/dd string using 1 the provided reference date, or raise an error. #A safe version of fixSmartDateStr. KConvert a SmartDate to an absolute date using the provided reference date. ;Parse a couple of date-time string formats to a time type. 6Parse a couple of date string formats to a time type. <Parse a date-time string to a time type, or raise an error. 7Parse a date string to a time type, or raise an error. BParse a time string to a time type using the provided pattern, or  return the default. 4Parse a date in any of the formats allowed in ledger's period expressions, and maybe some others:   2004  2004/10  2004/10/1  10/1  21  october, oct  yesterday, today, tomorrow 6 (not yet) this/next/last week/day/month/quarter/year NReturns a SmartDate, to be converted to a full date later (see fixSmartDate). :Assumes any text in the parse stream has been lowercased. PLike smartdate, but there must be nothing other than whitespace after the date. S0123456789:;<=>?@ABCDEFGHIJKLMN44ELook up one of the hard-coded default commodities. For use in tests. GFind the conversion rate between two commodities. Currently returns 1. AConvert a list of commodities to a map from commodity symbols to 7 unique, display-preference-canonicalised commodities. OPQRSTUVWXYZ!EApply a binary arithmetic operator to two amounts, converting to the  second one':s commodity (and display precision), discarding any price F information. (Using the second commodity is best since sum and other * folds start with a no-commodity amount.) CConvert an amount to the specified commodity using the appropriate . exchange rate (which is currently always 1). 0Convert mixed amount to the specified commodity ?Convert an amount to the commodity of its saved price, if any. BGet the string representation of an amount, based on its commodity's  display settings. GGet the unambiguous string representation of an amount, for debugging. 8Get the string representation of an amount, without any @ price. CGet the string representation (of the number part of) of an amount ;Add thousands-separating commas to a decimal number string MDoes this amount appear to be zero when displayed with its given precision ? Is this amount really- zero, regardless of the display precision ? N Since we are using floating point, for now just test to some high precision. 0Is this amount negative ? The price is ignored. Access a mixed amount's components. 5Does this mixed amount appear to be zero - empty, or : containing only simple amounts which appear to be zero ? Is this mixed amount really zero ? See isReallyZeroAmount. OIs this mixed amount negative, if it can be normalised to a single commodity ? Is this mixed amount really zero, after converting to cost  commodities where possible ? 2MixedAmount derives Eq in Types.hs, but that doesn't know that we  want $0 = EUR0 = 0. Yet we don''t want to drag all this code in there. D When zero equality is important, use this, for now; should be used  everywhere. AGet the string representation of a mixed amount, showing each of D its component amounts. NB a mixed amount can have an empty amounts  list in which case it shows as "". JGet an unambiguous string representation of a mixed amount for debugging. =Get the string representation of a mixed amount, but without  any @ prices. ;Get the string representation of a mixed amount, and if it : appears to be all zero just show a bare 0, ledger-style. >Get the string representation of a mixed amount, or a bare 0,  without any @ prices. FSimplify a mixed amount by combining any component amounts which have C the same commodity and the same price. Also removes zero amounts, > or adds a single zero amount if there are no amounts at all. FSimplify a mixed amount by combining any component amounts which have G the same commodity, ignoring and discarding their unit prices if any. I Also removes zero amounts, or adds a single zero amount if there are no  amounts at all. Convert a mixed amount'.s component amounts to the commodity of their  saved price, if any. The empty simple amount. The empty mixed amount. IA temporary value for parsed transactions which had no amount specified. &[\]^_!! a:b:c,d:e -> [a,a:b,a:b:c,d,d:e]  a:b:c,d:e -> [a,d] <From a list of account names, select those which are direct ( subaccounts of the given account name. +Convert a list of account names to a tree.    5Elide an account name to fit in the specified width.  From the ledger 2.6 news:  H What Ledger now does is that if an account name is too long, it will F start abbreviating the first parts of the account name down to two E letters in length. If this results in a string that is still too @ long, the front will be elided -- not the end. For example:  +Expenses:Cash ; OK, not too long  Ex:Wednesday:Cash ; Expenses was abbreviated to fit  Ex:We:Afternoon:Cash ; Expenses and  Wednesday abbreviated E ; Expenses:Wednesday:Afternoon:Lunch:Snack:Candy:Chocolate:Cash 7 ..:Af:Lu:Sn:Ca:Ch:Cash ; Abbreviated and elided!  `abcde              4Does this posting fall within the given date span ? >Get the minimal date span which contains all the postings, or - DateSpan Nothing Nothing if there are none. f g    GShow a journal transaction, formatted for the print command. ledger 2.x's !standard format looks like this:  yyyymmdd[ *][ CODE]: description......... [ ; comment...............] O account name 1..................... ...$amount1[ ; comment...............] O account name 2..................... ..$-amount1[ ; comment...............]  Dpcodewidth = no limit -- 10 -- mimicking ledger layout. 0pdescwidth = no limit -- 20 -- I don't remember what these mean, Lpacctwidth = 35 minimum, no maximum -- they were important at the time. pamtwidth = 11 pcommentwidth = no limit -- 22 =Show an account name, clipped to the given width if any, and  appropriately bracketed/*parenthesised for the given posting type.  !"#Get the sums of a transaction'0s real, virtual, and balanced virtual postings. $5Is this transaction balanced ? A balanced transaction's real D (non-virtual) postings sum to 0, and any balanced virtual postings  also sum to 0. %DEnsure that this entry is balanced, possibly auto-filling a missing A amount first. We can auto-fill if there is just one non-virtual @ transaction without an amount. The auto-filled balance will be H converted to cost basis if possible. If the entry can not be balanced, " return an error message instead. &'AConvert the primary date to either the actual or effective date. (Ensure a transaction's postings refer back to it. ) Set a posting's parent transaction.  !"#$%&'()h !"#$%&'() !"#$%&'() *CConvert time log entries to journal transactions. When there is no E clockout, add one with the provided current time. Sessions crossing ? midnight are split into days to give accurate per-day totals. +FConvert a timelog clockin and clockout entry to an equivalent journal S transaction, representing the time expenditure. Note this entry is not balanced,  since we omit the " assets:time"! transaction for simpler output. *+i*+*+ (,-./0123456=Keep only transactions we are interested in, as described by ? the filter specification. May also massage the data a little. 79Keep only postings we are interested in, as described by ? the filter specification. May also massage the data a little. ) This can leave unbalanced transactions. 8KKeep only transactions whose description matches the description patterns. 9?Keep only transactions which fall between begin and end dates. O We include transactions on the begin date and exclude transactions on the end @ date, like ledger. An empty date string means no restriction. :7Keep only transactions which have the requested cleared/ uncleared  status, if there is one. ;3Keep only postings which have the requested cleared/uncleared status,  if there is one. <BStrip out any virtual postings, if the flag is true, otherwise do  no filtering. =BStrip out any postings with zero amount, unless the flag is true. >NKeep only transactions which affect accounts deeper than the specified depth. ?CStrip out any postings to accounts deeper than the specified depth < (and any transactions which have no postings as a result). @NKeep only transactions which affect accounts matched by the account patterns. E More precisely: each positive account pattern excludes transactions H which do not contain a posting to a matched account, and each negative I account pattern excludes transactions containing a posting to a matched  account. AJKeep only postings which affect accounts matched by the account patterns. ) This can leave transactions unbalanced. BConvert this journal's transactions' primary date to either the  actual or effective date. CADo post-parse processing on a journal, to make it ready for use. DConvert all the journal'%s amounts to their canonical display B settings. Ie, all amounts in a given commodity will use (a) the G display settings of the first, and (b) the greatest precision, of the J amounts in that commodity. Prices are canonicalised as well, so consider 3 calling journalApplyHistoricalPrices before this. EApply this journal'?s historical price records to unpriced amounts where possible. FVGet the price for a commodity on the specified day from the price database, if known. F Does only one lookup step, ie will not look up the price of a price. GQClose any open timelog sessions in this journal using the provided current time. HConvert all this journal'4s amounts to cost by applying their prices, if any. IGet this journal'Cs unique, display-preference-canonicalised commodities, by symbol. JGet all this journal' s amounts'# commodities, in the order parsed. KGet all this journal'5s amount and price commodities, in the order parsed. LGet this amount'9s commodity and any commodities referenced in its price. MGet all this journal' s amounts, in the order parsed. N7The (fully specified) date span containing this journal's transactions, 0 or DateSpan Nothing Nothing if there are none. O!Check if a set of hledger account/(description filter patterns matches the I given account name or entry description. Patterns are case-insensitive E regular expressions. Prefixed with not:, they become anti-patterns. PBCalculate the account tree and all account balances from a journal's 7 postings, returning the results for efficient lookup. QFGiven a list of postings, return an account name tree and three query A functions that fetch postings, subaccount-excluding-balance and / subaccount-including-balance by account name. REAdd subaccount-excluding and subaccount-including balances to a tree G of account names somewhat efficiently, given a function that looks up  transactions by account name. S>Convert a list of postings to a map from account name to that  account' s postings. ,,j-./0123456789:;<=>?@ABCDEFGHIJKLMNOklmPQRS(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRS(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRS T.Some state kept while parsing a journal file. UV0the default year most recently specified with Y WI don't know X;the current stack of parent accounts specified by !account Y,A JournalUpdate is some transformation of a Journal . It can do I/O  or raise an error. ZgA hledger data reader is a triple of format name, format-detecting predicate, and a parser to Journal. [\]^_KGiven a JournalUpdate-generating parsec parser, file path and data string, , parse and post-process a Journal so that it'"s ready to use, or give an error. `abcdefgTUVWXYZ[\]^_`abcdefgZ[\]^Y_TUVWX`abcdefgTUVWXUVWXYZ[\]^[\]^_`abcdefg -hno1Does the given file path and data provide hledger's journal file format ? pParse and post-process a Journal from hledger's journal file  format, or give an error. i7Top-level journal parser. Returns a single composite, I/O performing,  error-raising  JournalUpdate* which can be applied to an empty journal  to get the final result. jqrkstuvwlxyz{|m}@Try to parse a ledger entry. If we successfully parse an entry, , check it can be balanced, and fail if not. ~noCParse an account name. Account names may have single spaces inside I them, and are terminated by two or more spaces. They should have one or E more components of at least one character, separated by the account  separator char. DParse an amount, with an optional left or right currency symbol and  optional price. pDParse a ledger-style numeric quantity and also return the number of D digits to the right of the decimal point and whether thousands are  separated by comma. Dparse the two strings of digits before and after a possible decimal D point. The integer part may contain commas, or either part may be " empty, or there may be no point.  hijklmnopq qhipoklmjn hijklmnop rsFilter a journal'3s transactions as specified, and then process them D to derive a ledger containing all balances, the chart of accounts,  canonicalised commodities etc. t List a ledger's account names. u%Get the named account from a ledger. v List a ledger's accounts, in tree order w List a ledger'$s top-level accounts, in tree order xBAccounts in ledger whose name matches the pattern, in tree order. yList a ledger account's immediate subaccounts z List a ledger'!s postings, in the order parsed. { Get a ledger'+s tree of accounts to the specified depth. | Get a ledger'4s tree of accounts rooted at the specified account. }9The (fully specified) date span containing all the ledger's (filtered) transactions, 0 or DateSpan Nothing Nothing if there are none. ~Convenience aliases. rstuvwxyz{|}~rstuvwxyz{|}~rstuvwxyz{|}~G      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'( )*+, !"-./#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde    f g !"#$%&'()h*+i,j-./0123456789:;<=>?@ABCDEFGHIJKLMNOklmPQRSrstuvwxyz{|}~6Does the given file path and data provide timeclock.el's timelog format ? Parse and post-process a Journal from timeclock.el' s timelog H format, saving the provided file path and the current time, or give an  error. Parse a timelog entry.  DRead a Journal from this string (and file path), auto-detecting the G data format, or give a useful error string. Tries to parse each known H data format in turn. If none succeed, gives the error message specific I to the intended data format, which if not specified is guessed from the $ file suffix and possibly the data. BRead a journal from this file, using the specified data format or I trying all known formats, or give an error string; also create the file  if it doesn' t exist. SEnsure there is a journal at the given file path, creating an empty one if needed. 6Give the content for a new auto-created journal file. DRead a Journal from this string, using the specified data format or 4 trying all known formats, or give an error string.  Get the user's default journal file path.  Get the user's default timelog file path.  Read the user'*s default journal file, or give an error.  Read the user'*s default timelog file, or give an error.  !"#$%&'()*+,-./0123456789:;<=>?@ABCCDEFGHIJKLMMNOPQQRSTUUVWXYZ[\]^__`abccdefghijklmmnoppqrsstuvwxyz{||}~      !"#$%&'()*+,-. / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~               l      !"#$%&'()*+,-./0123456768696:6;6<6=6>6?6@6A6B6C6D6E6F6G6H6I6J6K6L6M6N6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6\6]^_^`^a^b^cdedfghijklmnopqrstuvwxyz{|}~^^^^^^^^^^^^      !"!#!$!$!%&'&(&)&*&+&,&-&.&/012324252627898:8;8<8=8>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                         hledger-lib-0.12Hledger.Data.UtilsHledger.Data.TypesHledger.Data.DatesHledger.Data.CommodityHledger.Data.AmountHledger.Data.AccountNameHledger.Data.PostingHledger.Data.TransactionHledger.Data.TimeLogHledger.Data.JournalHledger.Read.CommonHledger.Read.JournalHledger.Data.Ledger Hledger.DataHledger.Read.Timelog Hledger.ReadHledger.Data.AccountPlatformString underline unbracketconcatTopPaddedconcatBottomPaddedvConcatRightAlignedpadtop padbottompadleftpadright cliptopleftfittofromPlatformStringtoPlatformStringerror' userError' difforzero containsRegexsplitAtElementleaves subtreeatsubtreeinforest treeprunetreemap treefiltertreeanyshowtree showforeststraceltracemtracechoice' parsewith parseWithCtx fromparsenonspacespacenonewline restoflinegetCurrentLocalTimetnametflattentfilteris assertParseassertParseEqualprintParseErrorisLeftisRightstrictReadFile FilterSpecdatespanclearedrealempty costbasisacctpatsdescpats whichdatedepthAccountaname apostingsabalanceLedgerjournalaccountnametree accountmapJournal jmodifiertxns jperiodictxnsjtxnsopen_timelog_entrieshistorical_pricesfinal_comment_linesfilepath filereadtimejtextHistoricalPricehdatehsymbolhamount TimeLogEntrytlcode tldatetime tlcomment TimeLogCodeFinalOutOutInSetRequiredHours SetBalancePeriodicTransactionptperiodicexpr ptpostingsModifierTransaction mtvalueexpr mtpostings Transactiontdateteffectivedatetstatustcode tdescriptiontcomment tpostingstpreceding_comment_linesPostingpstatuspaccountpamountpcommentptype ptransaction PostingTypeBalancedVirtualPostingVirtualPostingRegularPosting MixedAmountMixedAmount commodityquantityprice Commoditysymbolsidespacedcomma precisionSideRL AccountNameIntervalYearly QuarterlyMonthlyWeeklyDaily NoIntervalDateSpan WhichDate EffectiveDate ActualDate SmartDateshowDate getCurrentDayelapsedSeconds splitSpan splitspan daysInSpanspanContainsDateparsePeriodExprdateSpanAsTextspanFromSmartDateStringspanFromSmartDateshowDayfixSmartDateStrfixSmartDateStrEither fixSmartDateprevdayparsedatetimeM parsedateM parsedatetime parsedate parsetimewith smartdate smartdateonly validYear validMonthvalidDayfailIfInvalidYearfailIfInvalidMonthfailIfInvalidDayyyyymmddymdymydmdmonthmontoday yesterdaytomorrowlastthisnextthing periodexprintervalanddateperiodexprintervalperiodexprdateperiodexprperiodexprintervalperiodexprdatespandoubledatespan fromdatespan todatespan justdatespan mkdatespancommconversionRatecanonicaliseCommoditiesamountopconvertAmountToconvertMixedAmountTo costOfAmount showAmountshowAmountDebugshowAmountWithoutPrice showAmount'punctuatethousands isZeroAmountisReallyZeroAmountisNegativeAmountamountsisZeroMixedAmountisReallyZeroMixedAmountisNegativeMixedAmountisReallyZeroMixedAmountCostmixedAmountEqualsshowMixedAmountshowMixedAmountDebugshowMixedAmountWithoutPriceshowMixedAmountOrZero!showMixedAmountOrZeroWithoutPricenormaliseMixedAmount!normaliseMixedAmountIgnoringPrice)sumMixedAmountsPreservingHighestPrecision.normaliseMixedAmountPreservingHighestPrecision$sumAmountsPreservingHighestPrecision"amountopPreservingHighestPrecisioncostOfMixedAmountnullamt nullmixedamt missingamtTree'TaccountNameComponentsaccountNameFromComponentsaccountLeafNameaccountNameLevelaccountNameDropexpandAccountNamestopAccountNamesparentAccountNameparentAccountNamesisAccountNamePrefixOfisSubAccountNameOfsubAccountNamesFromaccountNameTreeFrom mergeTreespathtree fromPaths converttreeexpandTreeNamesaccountNameTreeFrom4elideAccountNameclipAccountName showPostingshowPostingForRegisterisReal isVirtualisBalancedVirtual hasAmountaccountNamesFromPostings sumPostings postingDatepostingClearedisPostingInDateSpanisEmptyPostingpostingsDateSpannulltransactionshowTransactionshowTransactionUnelidedshowTransactionForPrintshowTransaction'showAccountName realPostingsvirtualPostingsbalancedVirtualPostingstransactionPostingBalancesisTransactionBalancedbalanceTransactionnonzerobalanceerrorjournalTransactionWithDate txnTieKnotsettxntimeLogEntriesToTransactionsentryFromTimeLogInOut nulljournaladdTransactionaddModifierTransactionaddPeriodicTransactionaddHistoricalPriceaddTimeLogEntryjournalPostingsjournalAccountNamesUsedjournalAccountNamesjournalAccountNameTreefilterJournalTransactionsfilterJournalPostings&filterJournalTransactionsByDescriptionfilterJournalTransactionsByDate(filterJournalTransactionsByClearedStatus$filterJournalPostingsByClearedStatusfilterJournalPostingsByRealnessfilterJournalPostingsByEmpty filterJournalTransactionsByDepthfilterJournalPostingsByDepth"filterJournalTransactionsByAccountfilterJournalPostingsByAccountjournalSelectingDatejournalFinalisejournalCanonicaliseAmountsjournalApplyHistoricalPricesjournalHistoricalPriceForjournalCloseTimeLogEntriesjournalConvertAmountsToCostjournalCanonicalCommoditiesjournalAmountCommodities journalAmountAndPriceCommoditiesamountCommoditiesjournalAmountsjournalDateSpan matchpatsjournalAccountInfo groupPostingscalculateBalancespostingsByAccountJournalContextCtxctxYear ctxCommod ctxAccount JournalUpdateReaderrFormat rDetectorrParserparseJournalWithemptyCtxsetYeargetYearpushParentAccountpopParentAccountgetParentAccount expandPath fileSuffixreader journalFile emptyLineledgerExclamationDirectiveledgerHistoricalPriceledgerDefaultYearledgerdatetimeledgeraccountname someamount tests_Journal nullledgerjournalToLedgerledgerAccountNames ledgerAccountledgerAccountsledgerTopAccountsledgerAccountsMatchingledgerSubAccountsledgerPostingsledgerAccountTreeledgerAccountTreeAtledgerDateSpan accountnamesaccountaccounts topaccountsaccountsmatching subaccountspostings commodities accounttree accounttreeat rawdatespan ledgeramountstests_Hledger_Data tests_TimelogjournalFromPathAndStringreadJournalFile readJournal myJournalPath myTimelogPath myJournal myTimelogtests_Hledger_ReadbaseGHC.Base++foldrGHC.Listconcatfilterzipmap GHC.Classes>=fail>>=>>returnMonadFunctorOrd Control.Monad MonadPlusghc-prim GHC.TypesChar GHC.OrderingOrderingString HUnit-1.2.2.1Test.HUnit.Text runTestTTshowPath showCounts runTestTextputTextToShowSputTextToHandlePutTextTest.HUnit.Base performTest testCaseCount testCasePaths~:~?=~=?~?@?=@=?@? assertEqual assertString assertBoolassert Assertable listAssertListAssertableAssertionPredicateassertionPredicateAssertionPredicableTestCaseTestList TestLabelTesttestTestablefailureserrorstriedcasesCountscountspathState ReportStart ReportProblemPathListItemLabelNodeTest.HUnit.Lang assertFailure Assertion Text.PrintfhPrintfprintf PrintfType HPrintfType PrintfArgIsChar Debug.Trace traceShowtrace putTraceMsg Data.Listunwordswordsunlineslinesproductsumfoldl1'foldl1foldl'unfoldrsortsortBy permutations subsequencestailsinitsgroupBygroupdeleteFirstsByunzip7unzip6unzip5unzip4zipWith7zipWith6zipWith5zipWith4zip7zip6zip5zip4genericReplicate genericIndexgenericSplitAt genericDrop genericTake genericLength minimumBy maximumByminimummaximuminsertByinsert mapAccumR mapAccumL partition transpose intercalate intersperse intersectBy intersectunionByunion\\deleteBydeletenubBynub isInfixOf isSuffixOf isPrefixOf findIndices findIndexfind elemIndices elemIndex stripPrefix Data.Char isSeparatorisSymbol isPunctuationisNumberisMarkisLettergeneralCategory digitToIntUppercaseLetterLowercaseLetterTitlecaseLetterModifierLetter OtherLetterNonSpacingMarkSpacingCombiningMark EnclosingMark DecimalNumber LetterNumber OtherNumberConnectorPunctuationDashPunctuationOpenPunctuationClosePunctuation InitialQuote FinalQuoteOtherPunctuation MathSymbolCurrencySymbolModifierSymbol OtherSymbolSpace LineSeparatorParagraphSeparatorControlFormat Surrogate PrivateUse NotAssignedGeneralCategory GHC.UnicodetoTitletoUppertoLower isAsciiUpper isAsciiLowerGHC.Read readLitChar lexLitCharData.Ord comparingapliftM5liftM4liftM3liftM2liftMunlesswhen replicateM_ replicateMfoldM_foldM zipWithM_zipWithM mapAndUnzipMjoinforever<=<>=>msumforM_forMfilterMguardmapM_mapM sequence_sequence=<<mplusmzeroGHC.Show intToDigit showLitCharunzip3unzipzipWith3zipWithzip3!! concatMaplookupnotElemelemallanyorandreversebreakspansplitAtdroptake dropWhile takeWhilecycle replicaterepeatiteratescanr1scanrfoldr1scanl1scanlfoldllengthnullinitlasttailhead Data.MaybemapMaybe catMaybes listToMaybe maybeToList fromMaybefromJust isNothingisJustmaybeNothingJustMaybeordchrfmapminmax<=><compareisAsciiisLatin1 isControlisPrintisSpaceisUpperisLowerisAlphaisDigit isOctDigit isHexDigit isAlphaNumGTEQLTcontainers-0.3.0.0 Data.TreeunfoldForestM_BFunfoldTreeM_BF unfoldForestM unfoldTreeM unfoldForest unfoldTreelevelsflatten drawForestdrawTree subForest rootLabelTreeForest regexpr-0.5.1 Text.RegexPR splitRegexPR gsubRegexPRBy gsubRegexPR subRegexPRBy subRegexPR gmatchRegexPRmultiMatchRegexPR matchRegexPRggetbrsRegexPR getbrsRegexPR time-1.2.0.3Data.Time.LocalTime.LocalTimeutcToLocalZonedTime getZonedTimezonedTimeToUTCutcToZonedTimelocalTimeToUT1ut1ToLocalTimelocalTimeToUTCutcToLocalTimelocalTimeOfDaylocalDay LocalTime zonedTimeZonezonedTimeToLocalTime ZonedTimeData.Time.LocalTime.TimeOfDaytimeOfDayToDayFractiondayFractionToTimeOfDaytimeOfDayToTimetimeToTimeOfDaylocalToUTCTimeOfDayutcToLocalTimeOfDaymakeTimeOfDayValidmiddaymidnighttodSectodMintodHour TimeOfDayData.Time.LocalTime.TimeZonegetCurrentTimeZone getTimeZoneutctimeZoneOffsetStringtimeZoneOffsetString'hoursToTimeZoneminutesToTimeZone timeZoneNametimeZoneSummerOnlytimeZoneMinutesTimeZoneData.Time.ClockgetCurrentTimeData.Time.Clock.UTCDiff diffUTCTime addUTCTimeData.Time.Clock.UTC utctDayTimeutctDayUTCTimeNominalDiffTimeData.Time.Calendar.GregorianaddGregorianYearsRollOveraddGregorianYearsClipaddGregorianMonthsRollOveraddGregorianMonthsClipgregorianMonthLength showGregorianfromGregorianValid fromGregorian toGregorianData.Time.Calendar.OrdinalDate isLeapYearData.Time.Calendar.DaysdiffDaysaddDaystoModifiedJulianDayModifiedJulianDayDayData.Time.Clock.ScalepicosecondsToDiffTimesecondsToDiffTimegetModJulianDate ModJulianDate UniversalTimeDiffTime lowercase uppercasestriplstriprstripdropws elideLeft elideRightrootsubsbranches tracewith parseerrorshowParseErrorshowDateParseError orDatesFromnextday startofdaythisweekprevweeknextweek startofweek thismonth prevmonth nextmonth startofmonth thisquarter prevquarter nextquarterstartofquarterthisyearprevyearnextyear startofyear firstJust datesepchars datesepcharmonths monthabbrevsweekdaysweekdayabbrevs monthIndexmonIndex nulldatespannulldate tests_DatesnonsimplecommoditycharsquoteCommoditySymbolIfNeededunknowndollareuropoundhourdollarseurospoundshoursdefaultcommoditiesnegateAmountPreservingPricesumAmountsDiscardingPrice#sumSamePricedAmountsPreservingPrice6sumSamePricedAmountsPreservingPriceAndHighestPrecision tests_Amount acctsepcharaccountNameTreeFrom1nullaccountnametreeaccountNameTreeFrom2accountNameTreeFrom3 emptyTree nullpostingpostingTypeFromAccountNametests_Transaction tests_TimeLognullfilterspec negateprefix isnegativepatabspatformatdetectparse ledgercommentledgercommentline ledgerIncludeledgerAccountBeginledgerAccountEndledgerModifierTransactionledgerPeriodicTransactionledgerIgnoredPriceCommodityledgerDefaultCommodityledgerCommodityConversionledgerTagDirectiveledgerEndTagDirectiveledgerTransaction ledgerdateledgereffectivedate ledgerstatus ledgercodeledgerpostingslinebeginningwithspaces ledgerpostingtransactionaccountname postingamountleftsymbolamountrightsymbolamountnosymbolamountcommoditysymbolquotedcommoditysymbolsimplecommoditysymbol priceamountamountquantity numberpartsnumberpartsstartingwithdigitnumberpartsstartingwithpointnullacct timelogFile timelogentryreadersreaderForFormatensureJournalFile emptyJournal