Versions of bracket without masking acquire action
With new mask/restore concept it is impossible to unblock exceptions in acquire action which is quite often useful (acquire can be a lengthily action). So it could be a good idea to introduce a variant which has acquire action unmasked.
Of course I could write:
mask $ \restore -> bracket (restore . open) (close) (restore . work)
but this is just ugly.
So I am proposing bracket' or bracketUnmasked or something.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | mmitar@gmail.com |
| Operating system | |
| Architecture |