hledger/hledger-lib
Dmitry Astapov 6f92e70575 lib: remove needless numeric comparisons in bal/bs
accountsFromPostings is currently doing excessive work when adding up
postings in each account. It sorts (accountName, amount) tuples which
cause amounts in them to be compared. There is no need to look at amount
here at all since subsequent summing up and counting does not depend on
order. It is enough to sort by accountname only.

Went through similar pieces of code, made them all look uniform.
2017-11-29 07:08:18 -08:00
..
doc doc: regenerate embedded manuals 2017-11-28 17:37:27 -08:00
Hledger lib: remove needless numeric comparisons in bal/bs 2017-11-29 07:08:18 -08:00
other/ledger-parse lib: restrict imports, avoiding GHCI clashes 2016-11-20 10:27:16 -08:00
tests lib: doctests: fix unused import warning 2017-09-08 10:58:13 -07:00
Text/Megaparsec lib: refactor 2017-07-31 07:09:06 -07:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
CHANGES doc: draft 1.4 changelogs 2017-09-26 16:22:30 -10:00
hledger-lib.cabal lib: add dependecy on 'extra' package 2017-11-29 07:08:18 -08:00
Hledger.hs prettify/hlint 2016-02-20 20:12:02 -08:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
package.yaml lib: add dependecy on 'extra' package 2017-11-29 07:08:18 -08:00
README doc: ensure all five main packages have a README 2016-04-12 11:13:01 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

A reusable library containing hledger's core functionality.
This is used by most hledger* packages for common data parsing,
command line option handling, reporting etc.