Closed BebeSparkelSparkel closed 8 months ago
Any thoughts on this?
I'm overall -1. Rewrite rules have been notoriously difficult to get to fire reliably, and a breaking API change to account for that would be worth it IMO.
@snoyberg I'm not sure what "-1" means
Meaning: overall not in favor.
Thanks it seemed contrary to your second sentence.
I have been trying to get functions like
Data.Sequences.stripPrefix
to be substituted with the defined rules but it is finicky if used in a function with a polymorphic collection type. It requires persistent inlining of all the functions to the final type specification to not use the "default" implementation.It seems that a super class would get rid of this problem and allow the more efficient definition to be used.