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

Superfluous brackets added by toString-function #472

Closed
jvoigtlaender opened this Issue Jan 6, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@jvoigtlaender
Contributor

jvoigtlaender commented Jan 6, 2016

Consider:

import Html

type A = A Int

type B = B (List A)

main = Html.text (toString (B [A 1]))

The string that gets output is "B ([A 1])", though it could be "B [A 1]".

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 11, 2016

Member

I think this is solved in 0.17. Can you check? Reopen if so, and edit the SSCCE so I can drop it into the new elm-lang.org/try.

Member

evancz commented May 11, 2016

I think this is solved in 0.17. Can you check? Reopen if so, and edit the SSCCE so I can drop it into the new elm-lang.org/try.

@evancz evancz closed this May 11, 2016

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender May 11, 2016

Contributor

It's not solved in 0.17. I've edited the SSCCE to be 0.17 compliant.

Contributor

jvoigtlaender commented May 11, 2016

It's not solved in 0.17. I've edited the SSCCE to be 0.17 compliant.

@jvoigtlaender jvoigtlaender reopened this May 11, 2016

@evancz evancz referenced this issue Sep 22, 2016

Closed

toString #723

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Sep 22, 2016

Member

Follow along in the #723 meta issue.

Member

evancz commented Sep 22, 2016

Follow along in the #723 meta issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment