hledger/hledger-lib
Stephen Morgan 33369dfa6c lib: renderTable can now receive alignment and width specifications on all cells, and has an option to display the outer border.
This gives renderTable a little more customisation. Before any of the
commits of this PR, render would just receive a string to display in
each cell. After the second commit of this PR it would also receive a
width of the string (in place of stripping ANSI sequences and then
calculating the width). After this commit, it now also takes an
alignment, so you can make cells left or right aligned. The function
render calls renderTable with appropriate options to give the same
behaviour as before. Also, previously render would always put a border
around the table. We would take this output, and would sometimes strip
the border by dropping the first and last rows, and first and last
characters of every row. I've just added an option to control whether
to put the border in, so we can just not add it in the first place,
rather than stripping it later. Note that this is again just defining
helper functions; this extra power is not yet used anywhere.
2020-11-04 14:25:20 +11:00
..
Hledger lib: renderTable can now receive alignment and width specifications on all cells, and has an option to display the outer border. 2020-11-04 14:25:20 +11:00
other/ledger-parse lib: restrict imports, avoiding GHCI clashes 2016-11-20 10:27:16 -08:00
test ci: --pedantic is too much for now 2020-03-07 14:53:12 -08:00
Text lib: renderTable can now receive alignment and width specifications on all cells, and has an option to display the outer border. 2020-11-04 14:25:20 +11:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ; bump hledger-lib, hledger, hledger-ui, hledger-web version to 1.19.99 2020-09-07 12:16:12 -07:00
CHANGES.md ;update changelogs 2020-11-03 08:18:14 -10:00
defs.m4 ;update manuals 2020-10-18 16:01:59 -07:00
hledger_csv.5 ;update manuals 2020-10-25 18:56:34 -10:00
hledger_csv.info ;update manuals 2020-10-25 18:56:34 -10:00
hledger_csv.m4.md ;csv: doc: tweak (#1089) 2020-10-25 18:56:22 -10:00
hledger_csv.txt ;update manuals 2020-10-25 18:56:34 -10:00
hledger_journal.5 ;update manuals 2020-10-18 16:01:59 -07:00
hledger_journal.info ;update manuals 2020-10-18 16:01:59 -07:00
hledger_journal.m4.md ;doc: journal: directives: simpler wording, not possible issue 2020-10-18 15:56:52 -07:00
hledger_journal.txt ;update manuals 2020-10-18 16:01:59 -07:00
hledger_timeclock.5 ;update manuals 2020-10-18 16:01:59 -07:00
hledger_timeclock.info ;update manuals 2020-09-07 12:17:35 -07:00
hledger_timeclock.m4.md ;doc: drop redundant version message from web manuals 2020-01-25 19:33:12 -08:00
hledger_timeclock.txt ;update manuals 2020-10-18 16:01:59 -07:00
hledger_timedot.5 ;update manuals 2020-10-18 16:01:59 -07:00
hledger_timedot.info ;update manuals 2020-09-07 12:17:35 -07:00
hledger_timedot.m4.md ;timedot: update docs 2020-03-01 14:06:29 -08:00
hledger_timedot.txt ;update manuals 2020-10-18 16:01:59 -07:00
hledger-lib.cabal ;update cabal files 2020-09-07 12:17:35 -07:00
Hledger.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
package.yaml ; bump hledger-lib, hledger, hledger-ui, hledger-web version to 1.19.99 2020-09-07 12:16:12 -07:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger-lib

A reusable library containing hledger's core functionality. This is used by most hledger* packages so that they support the same common file formats, command line options, reports etc.

See also: the project README and home page.