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

Repetition by Closed Intervals #63

Merged
merged 6 commits into from
Feb 18, 2015
Merged

Repetition by Closed Intervals #63

merged 6 commits into from
Feb 18, 2015

Conversation

davidcairns
Copy link
Contributor

For Issue #60. Nice and clean this time. Man, I still suck at git.

@robrix
Copy link
Owner

robrix commented Feb 17, 2015

No, git sucks at human ❤️

([first] + $0, $1)
}
} ?? (interval.start <= 0 ? ([], input) : nil)
}
}
private func repeat<T>(parser: Parser<T>.Function, _ interval: HalfOpenInterval<Int> = 0..<Int.max) -> Parser<[T]>.Function {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you copy the documentation over from the ClosedInterval overload, please?

@robrix
Copy link
Owner

robrix commented Feb 17, 2015

Looks great! Just the one note.

@robrix robrix self-assigned this Feb 17, 2015
@davidcairns
Copy link
Contributor Author

Add’d!

@robrix
Copy link
Owner

robrix commented Feb 18, 2015

Danke!

robrix added a commit that referenced this pull request Feb 18, 2015
Repetition by Closed Intervals
@robrix robrix merged commit 507a824 into robrix:master Feb 18, 2015
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.

None yet

2 participants