Commits

Show all
Author Commit Message Labels Comments Date
Bryan O'Sullivan
Fix typo
Bryan O'Sullivan
Spruce up the time parser module, make it public
Bryan O'Sullivan
Special-case UTC / zero timezone offset
Bryan O'Sullivan
Add some actual time zone offsets to dates
Bryan O'Sullivan
Remove old, really weird tests None of these tests made any sense that I can see.
Bryan O'Sullivan
Make sure we don't use the named UTC zone When we did so, we got silly inequalities between time zone of Z and +0000, even though they're the same.
Bryan O'Sullivan
Switch to my date/time parsers
Bryan O'Sullivan
Add ZonedTime benchmarks
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Clean up date benchmark
Janne Hellsten
Add an attoparsec based UTC time decoder (#197) Replace the old 'parseTime' based UTCTime parser with an attoparsec based parser. This is roughly 5x faster than the old one. It also allows decoding some timestamp formats that the old version rejected. The new version still requires all timestamps to specify a timezone when decoding to a UTCTime type. Also add a few unit tests for both what should be accepted and also for things that should …
Janne Hellsten
Add a benchmark for standard ISO-8601 timestamps
Bryan O'Sullivan
Break out an unused zonedTime function This is less general than double, which it needs to replace shortly.
Bryan O'Sullivan
WIP
Bryan O'Sullivan
Initial cut at a good date parser (unused)
Bryan O'Sullivan
Merge pull request #265 from lfairy/truncate Use `truncate` instead of `floor` in Integral instances
Chris Wong
Use `truncate` instead of `floor` in Integral instances Whether we should accept fractional parts at all is up to debate (#171). But rounding toward negative infinity is wrong either way. Truncation is the default in most languages, so it will cause the least surprise to users of the library.
Bryan O'Sullivan
Mark camelTo as deprecated
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge pull request #254 from k-bx/camelto Use a better version of camelTo
Konstantine Rybnikov
Add example of worse camelTo behavior for clarity
Konstantine Rybnikov
Rename new camelTo to camelTo2 Also add test-cases for it.
Konstantine Rybnikov
Use a better version of camelTo For example, it handles a case "CamelAPICase" into "camel_api_case"
Bryan O'Sullivan
Implement Foldable and Traversable for Result and IResult
Bryan O'Sullivan
Try to build a Vector a little more efficiently
Bryan O'Sullivan
Benchmark both strict and lazy decoding
Bryan O'Sullivan
Inline commaSeparated
Bryan O'Sullivan
Inline the construction of a HashMap when parsing an Object This improves performance and memory usage by about 5%.
Bryan O'Sullivan
Add implementations of fail (!?) This fixes #263.
Matthias Fischmann
replace duplicate haddock comment by reference
  1. Prev
  2. Next