purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

GHC 9.0 support #441

Closed frasertweedale closed 2 years ago

frasertweedale commented 2 years ago

Changes:

0f68a9a (Fraser Tweedale, 17 hours ago)
   ci: add GHC 9.0 to matrix

be6ca36 (Fraser Tweedale, 14 hours ago)
   fix compilation with GHC 9.0

   As of GHC 9.0, record field selectors preserve the user-written order of
   quantified type variables.  This makes some of our record selectors in
   compatible with how they are used elsewhere in the program.

   For the ResourceSpec and EntityCommand fields, it suffices to remove the
   quantification.

   For the plugin hook types, it is necessary to write each getter as a 
   standalone function with the correct type.