-
Notifications
You must be signed in to change notification settings - Fork 28
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
Change the order of types in show
#83
Comments
@vrom911 I agree! It would be nice to fix this. Line 204 in a2ebb28
This should be solved using show :: forall b a . (Show a, IsString b) => a -> b I wouldn't rely on type variables order of appearance... In such cases it's better to explicitly specify desired order. |
vrom911
added a commit
that referenced
this issue
Nov 22, 2017
chshersh
added a commit
that referenced
this issue
Nov 23, 2017
[#83] Change types order in show and print
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the moment
It would be better to have on the first position the returned type, rather that received. So you don't need to write something like:
show @_ @Text x
but justshow @Text x
.The text was updated successfully, but these errors were encountered: