Adding binary to the Haskell Platform

Ian Lynagh igloo at
Wed Aug 5 17:14:28 EDT 2009

On Wed, Aug 05, 2009 at 01:47:07PM -0700, Donald Bruce Stewart wrote:
> alexander.dunlap:
> > 
> > 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
> documentation.
> 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 mailing list