Counterintuitive Local Function Definition in Parent Effect Execution
The example here https://www.effect.website/docs/resource-management seems counter intuitive. Why are the local functions (the release blocks) defined at each step for each operation executing at the end of the parent effect?
A fully-fledged functional effect system for TypeScript with a rich standard library

