[GHC] #2496: Invalid Eq/Ord instances in Data.Version

GHC ghc-devs at haskell.org
Wed May 6 03:46:11 UTC 2015


#2496: Invalid Eq/Ord instances in Data.Version
-------------------------------------+-------------------------------------
        Reporter:  guest             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Core Libraries    |                 Version:  6.8.3
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D395
-------------------------------------+-------------------------------------

Comment (by zilinc):

 I feel it's too late to object, so I'll ask a question instead. I'm
 developing a software, in which I use the `VersionTags` field to store the
 git commit hash in order to know under which git revision my software is
 compiled. It's implemented by a hook in `Setup.hs`. So that the
 `showVersion` function can print something like `MySoftware
 2.3.0.0-ce78942aed`, which is really handy for development. With the new
 changes in GHC, is there anywhere that I can put this piece of info? Or
 are you going to create another field in `PackageDescription` to keep
 extra notes?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2496#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list