-
Notifications
You must be signed in to change notification settings - Fork 183
Fix write-back rules for Set toList #602
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
Conversation
* 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.
(削除) 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. (削除ここまで)
Haha, I just realized you were the one who reporter it 😅
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!
@treeowl Assigning to you, and marking as a draft (not ready for review) to clarify the current status.
Thanks to GHC Trac ticket 16261, matching on
[]
in a ruleLHS is pretty dicy. Generalize the write-back rules so we
don't have to.
NOINLINE
set-to-list conversions generally when fusion doesn'thappen. Inlining these functions seems rather unlikely to be
productive in general.