Skip to content
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

Repeat combinator #32

Merged
merged 1 commit into from
May 21, 2018
Merged

Repeat combinator #32

merged 1 commit into from
May 21, 2018

Conversation

nblumhardt
Copy link
Member

I had a skim through the examples we've got listed in the README, and noticed that the DateTime example had an implementation of Repeat, which really belongs in the core library.

The example was a little cluttered with the inclusion of optional " double quotes as well as supporting time-only DateTimes,, so I've removed those features and hopefully boiled it down to a few core combinators. It's not an optimal implementation, since it should be possible to parse ISO-8601 without allocating, but as an introduction to Superpower it's useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant