-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add sec/min/hrs/hr/days/wk/wks/weeks to time string parsing #195
Conversation
Need to address the |
@NorfairKing I'm not quite sure about this.. where is |
@NorfairKing, I looked a little closer, and I believe That doc section notes:
And also:
So I wonder which function you would recommend |
@ketzacoatl Line 26 in 83b5bd3
I think we can use string instead: http://hackage.haskell.org/package/megaparsec-9.0.1/docs/Text-Megaparsec-Char.html#v:string
However, more importantly: This is a change in a parser. Parsers are notoriously hard to get right, so we'll want to start by writing tests. You can add them here:
|
I looked that over a few times, but am having a difficult time seeing it clearly, so I'm not even sure I can explain how that existing spec is testing |
Sure we can discuss it together! |
it's a first pass, feedback/guidance on the details are welcome..
This aims to resolve NorfairKing#193.
@NorfairKing This is now ready for your review ;) |
LGTM |
it's a first pass, feedback/guidance on the details are welcome..
This aims to address #193.