[Haskell-cafe] ANN: hledger 0.2 released

Simon Michael simon at joyful.com
Sun Nov 23 17:46:22 EST 2008

hledger is a minimal haskell clone of John Wiegley's "ledger" text-based
accounting tool (http://newartisans.com/software/ledger.html).  hledger
generates ledger-compatible register & balance reports from a plain text
ledger file, and demonstrates a functional implementation of ledger.   
more information, see the hledger home page: http://joyful.com/hledger

If you have cabal-install, do::

  cabal install hledger

otherwise, unpack http://hackage.haskell.org/packages/archive/hledger/0.2/hledger-0.2.tar.gz 
  and do::

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

(or for the latest code, darcs get http://joyful.com/repos/hledger)

* fixes

   * fix balance report totals when filtering by account
   * fix balance report selection of accounts when filtering by account
   * fix a bug with account name eliding in balance report
   * if we happen to be showing a not-yet-auto-balanced entry, hide  
the AUTO marker
   * fix print command filtering by account
   * omit transactions with zero amount from register report
   * Fix bug in parsing of timelogs
   * rename --showsubs to --subtotal, like ledger
   * drop --usage flag
   * don't require quickcheck

* features

   * priced amounts (eg "10h @ $50") and --basis/--cost/-B flag to  
show them with cost basis
   * easy --depth option, equivalent to c++ ledger's -d 'l<=N'
   * smarter y/m/d date parsing for -b and -e
     (any number of digits, month and day default to 1, separator can  
be / - or .)
   * -n flag for balance command
   * --empty/-E flag
   * build a library, as well as the exe
   * new home page url (http://joyful.com/hledger)
   * publish html and pdf versions of README
   * detect display preferences for each commodity like c++ ledger
   * support amounts with multiple currencies/commodities
   * support --real/-R flag
   * support -C/--cleared flag to filter by entry status (not  
transaction status)
   * support virtual and balanced virtual transactions
   * parse comment lines beginning with a space, as from M-; in emacs  
   * allow any non-whitespace in account names, perhaps avoiding  
misleading missing amounts errors
   * clearer error message when we can't balance an entry
   * when we fail because of more than one missing amount in an entry,  
show the full entry
   * document the built-in test runner in --help
   * add a --verbose/-v flag, use it to show more test-running detail
   * includes 43 tests


   * Simon Michael
   * Tim Docker

More information about the Haskell-Cafe mailing list