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

Update URI.hs #11

Merged
merged 1 commit into from
Feb 8, 2016
Merged

Update URI.hs #11

merged 1 commit into from
Feb 8, 2016

Conversation

AphonicChaos
Copy link
Contributor

Wrote Int instance for URIDecode. Needed this to get the updated README example to compile (as it uses a path segment).

Wrote Int instance for URIDecode. Needed this to get the updated README example to compile (as it uses a path segment).
tel added a commit that referenced this pull request Feb 8, 2016
Add URIDecode Int instance
@tel tel merged commit 06e57aa into tel:master Feb 8, 2016
@tel
Copy link
Owner

tel commented Feb 8, 2016

Let's land this, thanks! We probably could also use tests here. In particular, I think we need to check to see if there are any leftovers instead of just taking the fst of the pair.

@tel
Copy link
Owner

tel commented Feb 8, 2016

See here for more: fc858bf

@AphonicChaos
Copy link
Contributor Author

Makes sense. I knew there could be left overs but wasn't sure how pedantic decoders should be.

@tel
Copy link
Owner

tel commented Feb 8, 2016

Yeah—the policy should probably be to have them be fairly pedantic. Without it we might have awkwardness around matches causing accidental overlap in paths.

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