I was wondering how instance-deriving affects inlining behaviour.
When it comes to Newtype-Deriving I feel like the resulting methods should always be inlined, because the only difference are the newtype-constructors.
I am not sure, but maybe a similar argument would also work for DerivingVia?
Stock instance methods should probably not be inlined by default and neither should AnyClass-derived methods.
So my question is mainly about Newtype and Via -deriving.