Skip to content

Changing return types for phone-number exercise to be Maybes #163

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

Merged
merged 1 commit into from
Jun 27, 2016

Conversation

samjonester
Copy link
Contributor

Signaling invalid input to phone number parsing by returning a Nothing
instead of a string of 0's. This better represents idiomatic haskell,
and also signifies a difference between an input of all 0's and an
invalid input.

Closes #158

Signaling invalid input to phone number parsing by returning a Nothing
instead of a string of 0's. This better represents idiomatic haskell,
and also signifies a difference between an input of all 0's and an
invalid input.

Closes exercism#158
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.

2 participants