Skip to content

Prepare for 2.0 release#66

Merged
garyb merged 2 commits into
masterfrom
bump
Oct 8, 2016
Merged

Prepare for 2.0 release#66
garyb merged 2 commits into
masterfrom
bump

Conversation

@garyb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

paf31 commented Oct 6, 2016

👍 I like the newtypes.

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Oct 6, 2016

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

@garyb
Copy link
Copy Markdown
Member Author

garyb commented Oct 6, 2016

Yeah, definitely.

@paf31
Copy link
Copy Markdown
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