[Haddock] ghc-7.6.2 breaks haddock interface...

Joachim Breitner nomeata at debian.org
Wed Dec 12 11:30:10 GMT 2012

Hi Simon,

Am Mittwoch, den 12.12.2012, 12:15 +0100 schrieb Simon Hengel:
> On Wed, Dec 12, 2012 at 12:20:35AM +0100, Joachim Breitner wrote:
> > there really a change to the on-disk format of the .haddock files?
> Yes, the on-disk format changed, hence the interface version was bumped
> from 21 to 22.  But Haddock can still read files with interface version
> 21 (see [1]).

great! I was considering asking for backwards compatibility, but then
tought it might be a bit too much.

For now I’ll hardcode the information that haddock support interface
version 21 in our package metadata, but this is error prone. Would you
mind adding an option akin to
$ haddock --interface-version
that would print all versions (e.g. space separated)?

$ haddock --compatible-interface-versions
21 22


Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://projects.haskell.org/pipermail/haddock/attachments/20121212/ce99a81d/attachment.pgp>

More information about the Haddock mailing list