Build Status

Exfiltrator is the reverse of Infiltrator.jl. It allows you to "exfiltrate" local variables from a function into the global scope.

using Exfiltrator

julia> function f(x)
f (generic function with 1 method)

julia> f(2)

julia> x

Also supported are @exfiltrate VAR, which exfiltrates the local variables to the global variable VAR as a named tuple, @exfiltrate VAR x, which exfiltrates only x, and the @exfiltrate_push! ARR and @exfiltrate_push! ARR x which push the exfiltrated variables to a global array.