[Haskell-cafe] Correct way to "catch all exceptions"
Ertugrul Söylemez
es at ertes.de
Wed Jul 10 14:11:15 CEST 2013
Michael Snoyman <michael at snoyman.com> wrote:
> Any thoughts on this? I'm not sure exactly what would be the right
> method to add to the Exception typeclass, but if we can come to
> consensus on that and there are no major objections to my separate
> package proposal, I think this would be something moving forward on,
> including a library proposal.
Just a minor note: Add both `hasTag` and `tagsOf` to the type class,
because `hasTag` may use something much more efficient than `elem` like
pattern matching or `Data.Set.member`. I'm not even sure we really need
`tagsOf`.
Greets,
Ertugrul
--
Key-ID: E5DD8D11 "Ertugrul Soeylemez <es at ertes.de>"
FPrint: BD28 3E3F BE63 BADD 4157 9134 D56A 37FA E5DD 8D11
Keysrv: hkp://subkeys.pgp.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130710/e5aed6bb/attachment.pgp>
More information about the Haskell-Cafe
mailing list