I doubt this is possible but is there a way of creating an expression from 
a Method or LambaInfo? Something like:

julia> m = first(methods(open, (AbstractString,)))
open(fname::AbstractString) at iostream.jl:99 

julia> Expr(m) 
ERROR: TypeError: Expr: expected Symbol, got Method 
 in Expr(::Any) at ./boot.jl:270 
 in eval(::Module, ::Any) at ./boot.jl:228


I'm running Julia 0.5.0-dev+3898.

Reply via email to