We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Risking to confuse typechecker even further, we can make some nice IsString instances. E.g. compare:
IsString
at 404 ?~ Inline (mempty & description .~ "Not found")
vs
at 404 ?~ "Not found"
The following types I think can reasonably have IsString instances:
Host
License
Tag
Param
"param"
mempty & name .~ "param"
Response
Referenced a
a
Reference
newtype
@jkarni, @dmjio: thoughts?
The text was updated successfully, but these errors were encountered:
Merge pull request #47 from GetShopTV/isstring-#43
104bce6
IsString instances
No branches or pull requests
Risking to confuse typechecker even further, we can make some nice
IsString
instances.E.g. compare:
vs
The following types I think can reasonably have
IsString
instances:Host
;License
;Tag
;Param
(not sure yet, but"param"
would be equivallent tomempty & name .~ "param"
);Response
;Referenced a
(whena
hasIsString
instance);Reference
(or maybe thisnewtype
can be removed).@jkarni, @dmjio: thoughts?
The text was updated successfully, but these errors were encountered: