disposable

2016-02-08

Dispose function and with-disposable macro

Upstream URL

github.com/cbaggers/disposable

Author

Chris Bagley

License

BSD 2 Clause
README

Disposable

Dispose and with-disposable appear in many projects. May as well make a common package.

The generic dispose method is provided so people can specify how to dispose their own types.

The with-disposable macro wraps a progn in unwind-protect to ensure dispose is called on the target object at the end of the scope.

Dependencies (0)

    Dependents (0)

      • GitHub
      • Quicklisp