
12 May
2011
12 May
'11
1:05 a.m.
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: http://hackage.haskell.org/packages/archive/hledger-lib/0.14/doc/html/src/Hl... and some related docs: http://hledger.org/MANUAL.html#amounts It's probably more complicated and less efficient than you need, but a source of ideas.