Deprecating functions

Jan Stolarek jan.stolarek at p.lodz.pl
Fri Jan 9 09:22:37 UTC 2015


I want to deprecate some Template Haskell functions in GHC 7.12 and then remove them in GHC 7.14 
(or whatever version that comes after 7.12). Do we have any workflow for remembering these kind 
of things? I was thinking about adding a conditional error:

#if __GLASGOW_HASKELL__ > 712
#error Remove functions foo bar from TH
#endif

Is this a good way of doing this? Or should I do it differently?

Janek


More information about the ghc-devs mailing list