Ticket #38 (closed enhancement: fixed)

Opened 9 years ago

Last modified 6 years ago

Add a way to indicate DEPRECATED functions/types/modules

Reported by: waern Owned by: SimonHengel
Priority: minor Milestone:
Version: Keywords:


Add a way to indicate DEPRECATED functions/types/modules? Perhaps use the GHC DEPRECATED pragma?

Change History

Changed 8 years ago by duncan

Using the existing GHC deprecated pragma would be ideal I think. See for example the gtk-doc output for deprecated stuff:


Related to saying that something is deprecated is saying when it was deprecated. This aspect is related to ticket #25 and #26. My personal opinion on both is that it should not be indicated in the source but passed in (eg by Cabal) as auxiliary information that is derived using another tool that compares package versions.

Changed 6 years ago by SimonHengel

  • owner set to SimonHengel

I have some very unpolished patch for this. I'll try to get that ready some time soon.

Changed 6 years ago by SimonHengel

  • status changed from new to closed
  • resolution set to fixed

Changed 6 years ago by SimonHengel

Fixed in branch ghc-7.4 .

Note: See TracTickets for help on using tickets.