[Haskell-cafe] ANN: hledger 0.3 released

Simon Michael simon at joyful.com
Sat Jan 17 18:42:46 EST 2009

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  
text ledger file, and demonstrates a functional implementation of  
For more information, see hledger's home page: http://joyful.com/hledger

News for 0.3


   * 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


   * 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,
   * --depth and -E flags also affect summarised register reports
     (including depth=0)
   * --display/-d flag supporting date predicates (like "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
   * help and readme improvements


   * Simon Michael
   * Nick Ingolia
   * Tim Docker
   * Corey O'Connor & the vty team


   * Known errors: 1
   * Tests: 58
   * Lines of non-test code: 2123


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  

  runhaskell Setup.hs configure
  runhaskell Setup.hs build
  sudo runhaskell Setup.hs install

This will complain about any missing libraries, which you can download  
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090117/f19bd6f4/attachment-0001.htm

More information about the Haskell-Cafe mailing list