hledger/hledger-lib/Hledger/Read
Alex Chen f7fd6e6525 lib: refactor the raw number parser [API]
- Purpose: to reduce the verbosity of the previous implementation
- Split off `AmbiguousNumber` into its own type
- Introduce a function `AmbiguousNumber -> RawNumber` explicitly capturing the
  disambiguation logic
- Reduce the number of remaining constructors in `RawNumber` to just two,
  `WithSeparator` and `NoSeparator`
  - The choice to distinguish by the presence of digit separators is motivated
    by the need for this information later on when disallowing exponents on
    numbers with digit separators
2018-05-27 07:50:26 -07:00
..
Common.hs lib: refactor the raw number parser [API] 2018-05-27 07:50:26 -07:00
CsvReader.hs lib: remove the megaparsec compatability module 2018-05-22 12:16:46 -07:00
JournalReader.hs lib: superficial changes to parsers 2018-05-24 09:35:27 -07:00
LedgerReader.hs.disabled lib: disable WIP ledger4 parser, lighten dependencies 2017-03-29 21:06:26 -07:00
TimeclockReader.hs lib: remove the megaparsec compatability module 2018-05-22 12:16:46 -07:00
TimedotReader.hs lib: remove the megaparsec compatability module 2018-05-22 12:16:46 -07:00