snoyberg/conduit — comment on commit fc3df02520665dbbca689fb380195fdf7fe001d1
File: resourcet/Control/Monad/Trans/Resource.hs line 116
By tibbe:

I'd expect a function named `with` to take a higher-order argument (like in `bracket` does.) Does `with` have to live in the type class at all? It seems to me like you only need two functions: one to register and action to be run on exit and one to cancel that action. What am I missing?