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

Technically speaking, we could separate `with` from th type class, but keeping it this way allows for a more efficient representation, since we can use Control.Exception.mask directly instead of the lifted version.

As for the name: I agree. Have any recommendations? I was thinking off `allocate`.