Deprecating functions

Jan Stolarek jan.stolarek at p.lodz.pl
Fri Jan 9 10:02:04 UTC 2015


> We could file a tracking bug against the 7.14 milestone.
I was considering that but we don't have 7.14 milestone yet.

> Just curious, is there a way to keep these functions for backwards compat
> in 7.14 or is that unfeasible?
They could stay, technically that's not a problem. But I'm adding new functions that can do the 
same thing (and more), so we have redundancy.

Janek

>
> 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




More information about the ghc-devs mailing list