technomancy/robert-hooke — pull request #16 by narkisr (2013-11-25 01:55:32+00:00)
Title: with-hooks-disabled thread visibility and f meta

Current implementation of with-hooks-disabled makes use of with-redefs that are visible to all running threads,

This makes its use in multi threaded code unexpected (some threads will have it disabled while other don't depends on with-redefs call duration).

Using with-bindings makes it effect only single thread visible and in my mind more usable.

Second commits add the metadata back to the f argument making it possible for the hook to operate on its name and argument names, without it hooks are left only with analyzing args structure limiting its use.

Thanks