darcs patch: filling out the extensible exceptions library
Judah Jacobson
judah.jacobson at gmail.com
Sun Nov 16 13:27:10 EST 2008
Hi all,
Attached are some patches for the extensible-exceptions library, which
lets packages use the new exceptions API portably on all versions of
ghc (well, at least as far back as 6.6.1, from my tests).
To summarize: I filled out the API by copying all of the missing
functions from base4:Control.Exception, and edited the .cabal file to
make 'cabal install extensible-exceptions' do the right thing.
Also, I'm eager to have this package on hackage so that I can start
using it in my own libraries; let me know if there's anything else I
could do to work towards that goal.
Thanks,
-Judah
Sun Nov 16 09:52:02 PST 2008 Judah Jacobson <judah.jacobson at gmail.com>
* Bump the library version to 0.1.1.0.
M ./extensible-exceptions.cabal -1 +1
Sat Nov 15 16:49:25 PST 2008 Judah Jacobson <judah.jacobson at gmail.com>
* Copy all of the missing functionality/documentation from
base4:Control.Exception.
M ./Control/Exception/Extensible.hs -21 +358
Sat Nov 15 16:47:04 PST 2008 Judah Jacobson <judah.jacobson at gmail.com>
* Update the package description in the .cabal file.
M ./extensible-exceptions.cabal -4 +2
Sat Nov 15 10:59:27 PST 2008 Judah Jacobson <judah.jacobson at gmail.com>
* Hide some functions which are not possible to implement under the old API.
M ./Control/Exception/Extensible.hs -1 +1
Sat Nov 15 10:52:57 PST 2008 Judah Jacobson <judah.jacobson at gmail.com>
* Use Cabal flags to select which version of Control.Exception to
build on top of. This ensures that cabal-install will use the correct
version of base.
M ./Control/Exception/Extensible.hs -1 +1
M ./extensible-exceptions.cabal -1 +5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exceptions.patch
Type: application/octet-stream
Size: 19718 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/libraries/attachments/20081116/7d5e40f2/exceptions-0001.obj
More information about the Libraries
mailing list