mafm / ledger.fs

Simple command-line, double-entry accounting in F#. Excel and text output.
MIT License
6 stars 2 forks source link

Removed Global State + Added Experimental Entity Support #5

Closed ChernayaKoshka closed 6 years ago

ChernayaKoshka commented 6 years ago

As far as I am aware, all reports are in a working state. I compared their output to the expected output of the unchanged version and they all appeared to be in order. Parsing works 100% and all tests are currently passing. In addition, I removed the global, mutable variable "transactionId" and replaced it with FParsec's UserState.

ChernayaKoshka commented 6 years ago

On second thought, it would appear that I failed to fix ReportLossAndProfit, I will fix those