GHC Compile-time optimisation idea
It seems that deriving instances in GHC takes a long time: http://ift.tt/2vqlwSz
This may be a silly idea or it may have already been implemented: Can we cache the derived instances once they've been derived? Would it be sound to only invalidate those caches when the data type or type class has been changed?
Submitted July 16, 2017 at 01:46PM by NorfairKing
via reddit http://ift.tt/2v5XFZd