[Haskell-cafe] parsing currency amounts with parsec

Simon Michael simon at joyful.com
Thu May 12 03:05:36 CEST 2011

On 5/10/11 2:52 PM, Roman Cheplyaka wrote:
> You could read hledger[1] sources for inspiration: it's written in
> Haskell and contains some (quite generic) currency parsing.

Hi Eric.. here's the code in question:


and some related docs:


It's probably more complicated and less efficient than you need, but a source of ideas.

More information about the Haskell-Cafe mailing list