Deprecating functions

Johan Tibell johan.tibell at gmail.com
Fri Jan 9 09:54:03 UTC 2015


We could file a tracking bug against the 7.14 milestone.

Just curious, is there a way to keep these functions for backwards compat
in 7.14 or is that unfeasible?

On Fri, Jan 9, 2015 at 10:22 AM, Jan Stolarek <jan.stolarek at p.lodz.pl>
wrote:

> 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
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150109/7357fbc3/attachment.html>


More information about the ghc-devs mailing list