[Haskell-cafe] ANN: hledger 0.3 released

Sebastian Sylvan sebastian.sylvan at gmail.com
Sun Jan 18 12:39:26 EST 2009


I was interested in actually using this "for real", but unfortunately it seems like you have a dependency on the unix package. Would it be possible to use something portable (specifically to windows) instead?


From: Simon Michael 
Sent: Saturday, January 17, 2009 11:42 PM
To: hledger at googlegroups.com ; haskell-cafe at haskell.org 
Subject: [Haskell-cafe] ANN: hledger 0.3 released


I'm pleased to announce another hledger release. Happy new year, all!




hledger is a partial haskell clone of John Wiegley's "ledger" text-based

accounting tool.  It generates transaction & balance reports from a plain

text ledger file, and demonstrates a functional implementation of ledger.

For more information, see hledger's home page: http://joyful.com/hledger




News for 0.3

------------




Fixes:




  * count timelog sessions on the day they end, like ledger, for now

  * when options are repeated, use the last instead of the first

  * builds with ghc 6.10 as well as 6.8

  * runs much faster than 0.2::





    $ bench hledger-0.2 hledger ledger
                                      || hledger-0.2 | hledger | ledger
    ==================================++=============+=========+=======
    -f 2008.ledger -s balance         ||        2.59 |    0.26 |   0.11
    -f 10000entries.ledger -s balance ||      566.68 |    2.72 |   0.96



Features:




  * a simple ui for interactive report browsing: hledger ui

  * accept smart dates everywhere (YYYYMMDD, Y/M/D, Y, M/D, D, jan,

    today, last week etc.)

  * --period/-p flag accepting period expressions like "in 2008", 

    "weekly from last month"..

  * -W/-M/-Y convenience flags to summarise register weekly, monthly,

     yearly

  * --depth and -E flags also affect summarised register reports

    (including depth=0)

  * --display/-d flag supporting date predicates (like "d<[DATE]",

    "d>=[DATE]")

  * !include directive to include additional ledger files

  * !account directive to set a default parent account

  * Added support for reading historical prices from files

  * timelog and ledger entries can be intermixed in one file

  * modifier and periodic entries can appear anywhere (but are still

    ignored)

  * help and readme improvements




Contributors:




  * Simon Michael

  * Nick Ingolia

  * Tim Docker

  * Corey O'Connor & the vty team




Stats:




  * Known errors: 1

  * Tests: 58

  * Lines of non-test code: 2123




Installation

------------




hledger requires GHC. It is known to build with 6.8 and 6.10.

If you have cabal-install, do::




 cabal update

 cabal install hledger




Otherwise, unpack the latest tarball from

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hledger and do::




 runhaskell Setup.hs configure

 runhaskell Setup.hs build

 sudo runhaskell Setup.hs install 




This will complain about any missing libraries, which you can download and

install manually from hackage.haskell.org. (The Build-Depends: in

hledger.cabal has the full package list.)




To get the latest development code do::




 darcs get http://joyful.com/repos/hledger






--------------------------------------------------------------------------------


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090118/2f928a83/attachment.htm


More information about the Haskell-Cafe mailing list