I think this could be done by instead of expanding into specific (optimized) code dedicated to each argument, it instead would expand into a tree of if statements connected to a bunch of Expr(:call,:typeof,<more args>) and ? : (whatever the parse tree is for that). Essentially a function call turned inline. Is there support for that (inlining functions) already?
- [julia-users] Why doesn't @sprintf evaluate its format st... Ronald L. Rivest
- [julia-users] Re: Why doesn't @sprintf evaluate its ... Ronald L. Rivest
- Re: [julia-users] Re: Why doesn't @sprintf evalu... John Myles White
- Re: [julia-users] Re: Why doesn't @sprintf e... Mike Innes
- Re: [julia-users] Re: Why doesn't @sprin... Tony Fong
- Re: [julia-users] Re: Why doesn't @... Stefan Karpinski
- Re: [julia-users] Re: Why doesn... Jeff Waller
- Re: [julia-users] Re: Why d... Stefan Karpinski
- Re: [julia-users] Re: Why d... Stefan Karpinski
- Re: [julia-users] Re: Why d... Jeff Waller
- Re: [julia-users] Re: Why d... Stefan Karpinski
- Re: [julia-users] Re: Why d... Jeff Waller
- [julia-users] Re: Why doesn't @sprintf evaluate its ... Mike Innes