On Sat, Jun 30, 2012 at 5:40 AM, Matthew Mondor <mm_lists@pulsar-zone.net> wrote:
Another interesting thing to consider is Common Lisp's UNWIND-PROTECT
capability, which can be used with a clean WITH macro to avoid
forgetting to explicitely free/destroy an FFI-pointed object and/or OS
resource, just like WITH-OPEN-FILE, etc...

This is indeed a very useful abstraction for the control of resources.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain) 
http://juanjose.garciaripoll.googlepages.com