[GHC] #11767: Add @since annotations for base instances
GHC
ghc-devs at haskell.org
Wed May 25 18:23:40 UTC 2016
#11767: Add @since annotations for base instances
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: seraphime
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Core Libraries | Version: 7.10.3
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #11768 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
Thanks for taking on this task, seraphime!
Figuring out the GHC versions when instances were introduced can be pretty
tiring sometimes (since it involves a lot of `git` archeology). I
recommend looking at the source of `base-orphans`, since it categorizes
all of the new instances added to GHC (dating back to GHC 7.0) by the `#if
MIN_VERSION_base(x,y,z)` blocks they fall under. For example, here are all
of the new instances introduced in `base-4.4` (GHC 7.2):
https://github.com/haskell-compat/base-
orphans/blob/cd918aef4915c5cc4051bb74a689d14ed1d2e233/src/Data/Orphans.hs#L86-L118
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11767#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list