Changes between Version 9 and Version 10 of Annotations
- Oct 14, 2008 7:53:57 AM (5 years ago)
v9 v10 207 207 This doesn't require any more packages (we could even remove the ByteString usages here) and it does allow use of multiple different serialization libraries for annotations (should that be desirable). However, this makes the API a bit unfriendlier; and (more important) doesn't enforce that the serializer and deserializer for a particular bit of data should be coherent. For example, the following could easily happen: 208 208 * A plugin uses binary-2.1 to serialise stuff into Foo.hi 209 * A GHC api client uses binary-3.0 to deserialise it 210 (probably without realising that they are using the "wrong" Binary) 209 * A GHC api client uses binary-3.0 to deserialise it (probably without realising that they are using the "wrong" Binary) 211 210 212 211 Result: extreme broken-ness at run time (not compile time).