Skip to content
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

Do not show values eagerly #4

Merged
merged 2 commits into from
Dec 22, 2019
Merged

Do not show values eagerly #4

merged 2 commits into from
Dec 22, 2019

Conversation

Kaiepi
Copy link

@Kaiepi Kaiepi commented Nov 20, 2019

When attempting to show infinite lists, ushowWith would hang until
the process runs out of memory, despite show working on them. This
makes it so they can be shown using ushow or ushowWith like they
can be with show.

I'm fairly new to Haskell, and I can't be fully certain this behaves the same as before since this is failing a test that's also failing on master (though it passes all of the others), so bear with me.

When attempting to show infinite lists, `ushowWith` would hang until
the process runs out of memory, despite `show` working on them. This
makes it so they can be shown using `ushow` or `ushowWith` like they
can be with `show`.
@Kaiepi
Copy link
Author

Kaiepi commented Nov 21, 2019

This is failing the test for showing "漢6" on LTS releases at the moment.

@igrep
Copy link
Member

igrep commented Dec 1, 2019

Thanks for the pull request!
But I can't accept the failure in "漢6" case... That isn't related to the known issue nushio3#2

@igrep
Copy link
Member

igrep commented Dec 1, 2019

Anyway, I have to update the settings of travis to use the latest LTS Haskells though... Sorry for the inactivity...

@igrep
Copy link
Member

igrep commented Dec 7, 2019

@Kaiepi Can you rebase from the latest master? I've updated .travis.yml to test with the newer GHCs.

Side note: As I added to README, you might prefer pretty-simple, which subsumes pretty-simple.

@Kaiepi Kaiepi force-pushed the lazy branch 4 times, most recently from 3f842a1 to a6b4023 Compare December 14, 2019 18:30
Copy link
Member

@igrep igrep left a comment

Choose a reason for hiding this comment

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

Can you rebase from the master branch again?
It will reveal the other warnings. I'll merge after fixing the problems.

src/Text/Show/Unicode.hs Show resolved Hide resolved
@igrep
Copy link
Member

igrep commented Dec 22, 2019

Sorry, I'll change my mind.
I'll fix the problems after merging to release. Because I want to introduce your change on our blog soon!
https://haskell.jp/blog/

Thank you!

@igrep igrep merged commit d9c352a into haskell-jp:master Dec 22, 2019
igrep added a commit that referenced this pull request Dec 22, 2019
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.

2 participants