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

Fix write-back rules for Set toList #602

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

treeowl
Copy link
Contributor

@treeowl treeowl commented Feb 1, 2019

  • Thanks to GHC Trac ticket 16261, matching on [] in a rule
    LHS is pretty dicy. Generalize the write-back rules so we
    don't have to.

  • NOINLINE set-to-list conversions generally when fusion doesn't
    happen. Inlining these functions seems rather unlikely to be
    productive in general.

* Thanks to GHC Trac ticket 16261, matching on `[]` in a rule
  LHS is pretty dicy. Generalize the write-back rules so we
  don't have to.

* `NOINLINE` set-to-list conversions generally when fusion doesn't
  happen. Inlining these functions seems rather unlikely to be
  productive in general.
@m-renaud
Copy link
Contributor

m-renaud commented Feb 1, 2019

Note that as of 7 hours ago the ticket was updated and the reporter inadvertently had the overloaded lists extension enabled. Do, this appears to perennially not be an issue (?) unless I'm reading it wrong.

@m-renaud
Copy link
Contributor

m-renaud commented Feb 1, 2019

Haha, I just realized you were the one who reporter it 😅

@treeowl
Copy link
Contributor Author

treeowl commented Feb 1, 2019

Yes. I think it's likely that we should make this change anyway, to get write-back for appends, but the comment definitely needs to be fixed!

@sjakobi sjakobi marked this pull request as draft July 15, 2020 13:09
@sjakobi
Copy link
Member

sjakobi commented Jul 15, 2020

@treeowl Assigning to you, and marking as a draft (not ready for review) to clarify the current status.

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

Successfully merging this pull request may close these issues.

3 participants