It can be difficult to manage resource lifetimes, especially when laziness is involved. Simply local scoping can be inadequate. Resource scopes can decouple resource lifetimes from creating scope.
- Some design work and code has been done
- find it and write it up
- Consider threads as well as nesting