Deprecating functions

Herbert Valerio Riedel hvriedel at gmail.com
Fri Jan 9 10:13:21 UTC 2015


On 2015-01-09 at 11:09:07 +0100, Roman Cheplyaka wrote:
[...]
>>> 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?

Why hide them? DEPRECATEd entities have the deprecation-message shown in
discouraging red letters (including any hyperlinks to their
replacements) in the generated Haddock documentation...


More information about the ghc-devs mailing list