patch applied (haddock2): cross-package fnArgDocs. WARNING: changes
.haddock binary format
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
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:
More information about the Cvs-other