> [ thorough explanation of how Snap works snipped ] Thanks. That makes sense, and it definitely helps.
> The socket end (an iteratee) can produce two kinds of errors: iteratee > errors (which you catch using "catchError") and asynchronous > exceptions (like "thread killed"), which you can catch using "catch" > or "finally" from Control.Monad.CatchIO. You would need to handle them > both in order to be sure your cleanup actions are run. So, Snap 0.4 has been released since this was sent, and I noticed that it has a bracketSnap function. This function does the work of handling both of those exceptional cases, right? _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
