Adding binary to the Haskell Platform
igloo at earth.li
Wed Aug 5 17:14:28 EDT 2009
On Wed, Aug 05, 2009 at 01:47:07PM -0700, Donald Bruce Stewart wrote:
> > OK. Would it be worth creating an extensible exception (something like
> > BinaryDecodeError) for this then, instead of using the call to error?
> > That would at least make it less error-prone to catch.
> I think that would be a good idea. Showing how to catch it in the
> I'm wary of breaking the 70 packages that use Data.Binary for this,
> rather, add this as a list of API changes for the next major release.
If you're planning a change that you are worried would break users of
the package, wouldn't it be better to do it before putting it into the
Or have I misunderstood what you meant?
More information about the Libraries