cvs commit: fptools/ghc/docs/users_guide glasgow_exts.xml fptools/ghc/compiler/main HscTypes.lhs fptools/ghc/compiler/parser Parser.y.pp fptools/ghc/compiler/rename RnEnv.lhs RnSource.lhs

Simon Marlow simonmar at microsoft.com
Thu May 5 04:34:27 EDT 2005


On 05 May 2005 08:43, Simon Peyton Jones wrote:

> simonpj     2005/05/05 00:43:29 PDT
> 
>   Modified files:
>     ghc/docs/users_guide glasgow_exts.xml
>     ghc/compiler/main    HscTypes.lhs
>     ghc/compiler/parser  Parser.y.pp
>     ghc/compiler/rename  RnEnv.lhs RnSource.lhs
>   Log:
>   Make it so that you can deprecate a data constructor.
>   Previously {-# DEPRECATED T "no" #-} referred only to the type
>   or class T.  Now it refers to the data constructor T as well,
>   just like in fixity declarations.
> 
>   There's no way to deprecate the data constructor T without also
>   deprecating the type T, alas.  Same problem in fixity decls.
>   Main problem is coming up with a suitable concrete syntax to do
>   so.
> 
>   We could consider merging this to the STABLE branch.

I think I'll decline to merge this one - source code that uses the new
feature will compile with 6.4.1 but not with 6.4, which is something we
want to avoid.  The same source code is generally supposed to be
compilable, modulo bugs, with all patchlevel releases.

Cheers,
	Simon


More information about the Cvs-ghc mailing list