hledger/hledger-lib
Mykola Orliuk 015b764d00 Preserve implicit amounts and prices the way user wrote them in output of print command (#471)
* Remember original postings during infer and pivot

This includes such functions like:
- inferFromAssignment
- inferBalancingAmount
- inferBalancingPrices
- pivotPosting

* Use original postings for hledger print

- Introduce "--explicit" option for "print" command which brings back
  old behavior when every inferred number being printed.
- Make "print" by default print original postings without inferred
  amounts. But use effective account name to have effect from aliases.
- Instruct shell tests with an new expected output or to use
  --explicit option when inferred amounts are checked.

Resolves simonmichael/hledger#442
2017-01-13 07:25:44 -08:00
..
doc rename data/ to examples/ 2017-01-08 07:26:13 -08:00
Hledger Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
other/ledger-parse lib: restrict imports, avoiding GHCI clashes 2016-11-20 10:27:16 -08:00
tests lib: fix doctests 2016-11-12 14:14:04 -08:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
CHANGES doc: changelogs, release notes 2016-12-31 11:24:12 -08:00
hledger-lib.cabal bump version to 1.1.98 (1.2 alpha) 2017-01-05 10:43:06 -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 bump version to 1.1.98 (1.2 alpha) 2017-01-05 10:43:06 -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.