You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* WIP Interval formatters
* fix number parser in duration
* update Data.Interval
* refactor Duration parser
at this point we need to upgrade to [email protected]
* add is valid iso duration test
* add interval parsers
* extract parsers in seperate module
* move 'digit' to parser.number
* remove State from unformatParser
* use weaker hoistParserT
* use ParserT instead of Parser
* use more oneOfAs
* export unformatParser from DateTime; fix interval related parser tests
* un-export HasDuration for Duration (live one for IsoDuration only)
* add tests for all variation of valid Recurringinterval
* add Eq and Show instance for datetime.FormatterF
* make formatterF parser error a bit more usable
* include error position in error string of parser result
* use ps-spec and refactor tests to more generative style
* remove some outdated commets
* fix let usage
* remove 'Q', 'X', 'W' from restricted chars of placeholder
* fix failing test
* make Number.Formatter newtype
reason is that we need to use it in tests where values need to implement Eq and Show
* refactor numeralTests
* refactor tests
* merge Parser/DateTime back into DateTime
* fix warning
* update ps-parser
* add invalid interval/durations; fix parsing of PT1M
* update ps-spec
* update ps-parser
* remove Has{Duration,Date} class; add EOF to runP
we want to fully consume input when parsers are executed
* remove unused ps-debug
* add format function; refactor interval tests
* use forAll for testing
* refactor padDoubleDigit
* add resoliutions
* fix resolution
* add space to formatterFShow
* use <?>
* refactor digit parsing
* remove unneeded range checks
the range check is not relevent then we have know exact length of digits and range is min and max for the number
* reorder parseInt validations so that we don't need parens
* add noValidate
* refactor datetime parser
* don't use MonadState with P.ParserT
* use readFloat in parseFractional
* refactor parseMaybeInteger
* refactor unEither
* refactor foldFoldableMaybe
* fix where indentation
* more where indentation
* add Newtype instance for Number.Formatter; derive Eq
* derive Eq for DateTime.FormatterF
* derive Functor for DateTime.FormatterF
* replace -> with →
* replace :: with ∷
* replace <- with ←
* replace => with ⇒
* replace forall with ∀
* replace more => with ⇒
* use monoid instance of ReaderT in parser validators
* change Formatter to List FormatterCommands
* unflip
* remove unused
* fix parsing formats like 'HHmm' (without seperators)
* fix build
* fix 'SS' and 'S' parsing
* export printFormatterCommand
* update ps-datetime
* remove unused
* use published version of purescript-lists
* update ps-transformers
* use unsafePartial instead of unsafePartialBecause
* update datetime
* fix number test
* remove some old todos
* use released version of ps-datetime
* fix first char case in errors.
* add todo on negative numbers
* fix lifts
* fix arrows and forall
* fix double let
* use lift2 and sort imports
* remove outdated anotation
* let on next line
* rename notEmpty to failIfEmpty
0 commit comments