[julia-users] Re: eval create new functions

2014-10-05 Thread Yakir Gagnon
Awesome!!! That's exactly what I needed! I missed the need for symbol in there, and tried to put the $k part together with everything else. This is great, thanks Toivo! On Monday, October 6, 2014 4:50:14 AM UTC+10, Toivo Henningsson wrote: > > I think that you will have to provide a little more

[julia-users] Re: eval create new functions

2014-10-07 Thread yfractal
I think you can create an Expr whose head is `:function`. but it will take some more effort to do same thing ... but I'd like Expr :). Yakir Gagnon於 2014年10月6日星期一UTC+8上午2時57分10秒寫道: > > Awesome!!! > That's exactly what I needed! I missed the need for symbol in there, and > tried to put the $k p

Re: [julia-users] Re: eval create new functions

2014-10-05 Thread Jameson Nash
a name indexed by a number containing a function which references yet another value, you say. these things sound familiar…. in fact, these things are first class citizens in julia: “a name indexed by a number” — an Array “a function” — a Function “which references yet another value” — a Closure A