-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1/26/11 22:02 , Magicloud Magiclouds wrote: > Sorry, in last mail, I meant, in really wrong situation, there might > be other tens of unexpected command, I'd like to wrap them in one > exception, other than making tens of exceptions.
I'm not sure you can get away with that in a monadic computation, unless you hold all the exceptions until everything is done... and if there's no way to control "everything is done" you have a potential DoS. (Worse, it looked to me like one of those ControlExceptiion-s *was* the "everything is done", which makes holding onto things problematic plus makes me wonder what good the debug message is if it's batched until protocol shutdown. - -- brandon s. allbery [linux,solaris,freebsd,perl] [email protected] system administrator [openafs,heimdal,too many hats] [email protected] electrical and computer engineering, carnegie mellon university KF8NH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1A4e0ACgkQIn7hlCsL25X8lQCbBrKO5Lmwazn9025FcDlZ8DYH 2BEAoKuc6bVOH3gG13aa9OUkBoCCmLiP =0NWM -----END PGP SIGNATURE----- _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
