Closed konsumlamm closed 1 year ago
Apprently it was a newtype originally, but it was changed in https://github.com/haskell/vector/commit/82fe1c94509d6de08fb4d2d03a81b0a63e05ae32, although without explanation.
@konsumlamm It must be a data type instead of newtype
otherwise the rewrite rules will not fire. I can try add a comment later on to the definition with explanation why it must be a data
type. I'll keep this ticket around to track this task of explaining in the code.
The
New
type inData.Vector.Generic.New
is currently defined asIs there any reason this isn't a newtype?