haskell / deepseq

Deep evaluation of data structures
http://hackage.haskell.org/package/deepseq
Other
40 stars 29 forks source link

Change RnfArgs to be a data family #85

Closed phadej closed 2 years ago

phadej commented 2 years ago

Then we don't rely that heavily on simplifier to remove the GADT overhead. Even when unoptimized, there isn't additional box over RnfArgs1.

I did similar change to hashable in 2019.