Skip to content

Prepare for 2.0 release #66

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 2 commits into from
Oct 8, 2016
Merged

Prepare for 2.0 release #66

merged 2 commits into from
Oct 8, 2016

Conversation

garyb
Copy link
Member

@garyb garyb commented Oct 5, 2016

Resolves #39, resolves #62

Somewhat controversial with the Pattern / Replacement newtypes perhaps?

compare (toLower s1) (toLower s2)

instance showCaseInsensitiveString :: Show CaseInsensitiveString where
show (CaseInsensitiveString s) = "(CaseInsensitiveString " <> s <> ")"
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a thought: this (and several other Show instances) could use wrap now, which would make things a bit shorter.

@paf31
Copy link
Contributor

paf31 commented Oct 6, 2016

👍 I like the newtypes.

@paf31
Copy link
Contributor

paf31 commented Oct 6, 2016

@garyb Do you want to incorporate #67 as well? (when it's finished)

@garyb
Copy link
Member Author

garyb commented Oct 6, 2016

Yeah, definitely.

@paf31
Copy link
Contributor

paf31 commented Oct 8, 2016

👍

@garyb garyb merged commit c013a7e into master Oct 8, 2016
@garyb garyb deleted the bump branch October 8, 2016 00:30
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.

Newtypes for replace Add a case insensitive newtype wrapper
2 participants