deriving-compat v0.5.9 Release Notes

Release Date: 2020-06-08 // almost 4 years ago
    • Have deriveFunctor and deriveFoldable derive implementations of (<$) and null, which GHC starting doing in 8.2 and 8.4, respectively.
    • ๐Ÿ›  Fix a bug in which deriveOrd{,1,2} could generate incorrect code for data types with a combination of nullary and non-nullary constructors.
    • ๐Ÿ›  Fix a bug in which deriveFunctor would fail on sufficiently complex uses of rank-n types in constructor fields.
    • ๐Ÿ›  Fix a bug in which deriveFunctor and related functions would needlessly reject data types whose last type parameters appear as oversaturated arguments to a type family.