patch applied (haddock2): cross-package fnArgDocs. WARNING: changes
.haddock binary format
Simon Marlow
marlowsd at gmail.com
Tue Sep 8 09:55:51 EDT 2009
Sun Aug 23 00:26:05 PDT 2009 Isaac Dupree <id at isaac.cedarswampstudios.org>
* cross-package fnArgDocs. WARNING: changes .haddock binary format
Ignore-this: d6c2eddfb16942a9865f84b4b1fc4a37
While breaking the format, I took the opportunity to unrename the
DocMap that's saved to disk, because there's really no reason that
we want to know what *another* package's favorite place to link a
Name to was. (Is that true? Or might we want to know, someday?)
Also, I added instance Binary Map in InterfaceFile.
It makes the code a little simpler without changing anything of
substance. Also it lets us add another Map hidden inside another
Map (fnArgsDocs in instDocMap) without having really-convoluted
serialization code. Instances are neat!
I don't understand why this change to InterfaceFile seemed to
subtly break binary compatibility all by itself, but no matter,
I'll just roll it into the greater format-changing patch. Done!
M ./src/Haddock/Interface/Create.hs -7 +6
M ./src/Haddock/InterfaceFile.hs -8 +15
M ./src/Haddock/Types.hs -2 +7
View patch online:
http://darcs.haskell.org/haddock2/_darcs/patches/20090823072605-6c1c4-3002a25e57dd65f8b5dd0e1d6a1bf13d246ca6ca.gz
More information about the Cvs-other
mailing list