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

Add IsString instance for Address? #45

Closed
Gabriella439 opened this issue Dec 12, 2015 · 1 comment
Closed

Add IsString instance for Address? #45

Gabriella439 opened this issue Dec 12, 2015 · 1 comment

Comments

@Gabriella439
Copy link
Contributor

Would it be possible to add the following IsString instance for Address:

instance IsString Address where
    fromString str = Address Nothing (fromString str)

If the above instance is okay then I can submit a pull request to add this

@snoyberg
Copy link
Owner

No objection from me, seems reasonable.

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

No branches or pull requests

2 participants