Sometimes I want to add instrumentation to code I haven't written, such as clojure.core functions or a library that doesn't check its inputs as closely as I would hope. Currently, that's not possible because of the way m/=> is written. I think this should be possible, however, by calling name on the provided symbol and then using the namespace of the symbol (defaulting to *ns*) as the symbol.
Hey friends,
Sometimes I want to add instrumentation to code I haven't written, such as
clojure.core
functions or a library that doesn't check its inputs as closely as I would hope. Currently, that's not possible because of the waym/=>
is written. I think this should be possible, however, by callingname
on the provided symbol and then using the namespace of the symbol (defaulting to*ns*
) as the symbol.