dreixel / generic-deriving

BSD 3-Clause "New" or "Revised" License
44 stars 32 forks source link

Add `INLINE` pragmas to derived methods when applicable #89

Closed RyanGlScott closed 1 year ago

RyanGlScott commented 1 year ago

GHC!2965 causes derived Generic(1) instances to attach INLINE [1] pragmas to its implementations of from(1) and to(1). We should do the same thing in generic-deriving.