RE: deprecate a constructor?

Apparently not at the moment but it should be. As in a 'hiding' list, deprecating "T" would deprecate the *type* T and the *data constructor* T. There'd be no way to deprecate one without the other, except by giving them different names. (That's a bit of a shortcoming in hiding lists already, so matters are no worse than before.) I'll look into this sometime I'm on an aeroplane... Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of Johannes Waldmann | Sent: 14 April 2005 17:27 | To: glasgow-haskell-users@haskell.org | Subject: deprecate a constructor? | | is it possible to {-# DEPRECATE #-} a single constructor | (of a data declaration that is, as a whole, not deprecated)? | -- | -- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 -- | ---- http://www.imn.htwk-leipzig.de/~waldmann/ ------- | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Simon Peyton-Jones