On Fri, Jan 9, 2015 at 11:09 AM, Roman Cheplyaka <r...@ro-che.info> wrote:

> On 09/01/15 12:02, Jan Stolarek wrote:
> >> 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.
>
> Can you hide them in the haddock but leave in the module, so that we
> don't break existing code?
>

I agree. You'll get rid of the redundancy in the library by removing it but
you're users will have to live with

#if MIN_VERSION_template_haskell(X,Y,X)
-- new way
#else
-- old way
#endif

for 3+ years (which is typically how many GHC versions popular libraries
try to support).
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to