Skip to content

Data.List.Lazy: strange Show instance #122

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

Closed
matthewleon opened this issue Jun 8, 2017 · 1 comment · Fixed by #181
Closed

Data.List.Lazy: strange Show instance #122

matthewleon opened this issue Jun 8, 2017 · 1 comment · Fixed by #181

Comments

@matthewleon
Copy link
Contributor

matthewleon commented Jun 8, 2017

The Show instance for lazy lists returns fromStrict(..). This appears to be a Haskellism.

What would be a better approach?

@paf31
Copy link
Contributor

paf31 commented Jun 8, 2017

Yes, that seems wrong. Maybe we could use fromFoldable and show an array which would be more compact.

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 a pull request may close this issue.

2 participants