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

Remove superfluous view pattern #632

Merged
merged 1 commit into from
Feb 15, 2019
Merged

Remove superfluous view pattern #632

merged 1 commit into from
Feb 15, 2019

Conversation

ChrisPenner
Copy link
Contributor

I'd missed one section where I'd agreed to remove View Patterns as requested by @jschaul.
He asked that I fix it up :)

unreachable :: Nexmo.CallErrorResponse -> AppT IO ()
unreachable ex = warn (toException ex) >> throwM PhoneNumberUnreachable
barred :: Nexmo.CallErrorResponse -> AppT IO ()
barred ex = warn (toException ex) >> throwM PhoneNumberBarred
Copy link
Contributor

Choose a reason for hiding this comment

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

i was slightly in favor of the old version, but fine. :-)

@ChrisPenner ChrisPenner merged commit 35b441a into develop Feb 15, 2019
@ChrisPenner ChrisPenner deleted the cp/remove-vp branch February 15, 2019 14:17
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.

3 participants