3 ms·
A good language should have the generic features necessary to do that kind of resource management without needing macros. See e.g. https://github.com/jsuereth/s
by lmm 11y ago
A good language should have the generic features necessary to do that kind of resource management without needing macros. See e.g. https://github.com/jsuereth/scala-arm https://github.com/jsuereth/scala-arm - and note that it's all just ordinary code.
- ICWiener 11y agoMacros are not needed. You only need the UNWIND-PROTECT special operator, which is the generic feature you are looking for.