On Wed, Apr 27, 2016 at 12:08 AM, Ismael Venegas Castelló < ismael.vc1...@gmail.com> wrote:
> Does the field code has a use for non anon funcs? I can see that the > g.code object is a LambdaStaticData, so only for anon funcs. I was trying > to understand the implementation differences. > Not afaik and thing have changed a lot on master > > > Ismael Venegas Castelló > > *Data Analyst* > > Cel. 044 55 6434 0229 > > ivene...@richit.com.mx > > Cerro San Francisco 357, C.P. 04200 > > Campestre Churubusco, Coyoacán > > Ciudad de México > > <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX43Mx_82W1p1tN-8q-fZWW3LPXXH56dKBHf5NSPJF02?t=https%3A%2F%2Frichit.com.mx%2F&si=4656540167962624&pi=b98a84b1-775e-4f1f-89e0-6b127c581e94> > > <https://www.facebook.com/richitsolution> > <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX43Mx_82W1p1tN-8q-fZWW3LPXXH56dKBHf5NSPJF02?t=https%3A%2F%2Ftwitter.com%2Frichitsolution&si=4656540167962624&pi=b98a84b1-775e-4f1f-89e0-6b127c581e94> > <conta...@richit.com.mx> > > Tel. 6718 1818 > richit.com.mx > > 2016-04-26 22:52 GMT-05:00 Yichao Yu <yyc1...@gmail.com>: > >> On Tue, Apr 26, 2016 at 10:42 PM, Ismael Venegas Castelló >> <ismael.vc1...@gmail.com> wrote: >> > Why is `f.code` an `UndefRefError`? >> > >> > julia> f.code >> > >> > ERROR: UndefRefError: access to undefined reference >> > >> >> Because it doesn't exist. >> >> > >> > >> > El martes, 26 de abril de 2016, 18:27:50 (UTC-5), Yichao Yu escribió: >> >> >> >> On Tue, Apr 26, 2016 at 6:39 PM, <chobb...@gmail.com> wrote: >> >> > I wonder how to print the expression of a function, e.g. x.^2 for the >> >> > following example. >> >> > >> >> > julia> f(x) = x.^2 >> >> > f (generic function with 1 method) >> >> > >> >> > julia> f >> >> > f (generic function with 1 method) >> >> > >> >> > If it is not possible for the expression of a function as simple as >> the >> >> > above to be printed, is there a way to display more info for a >> function, >> >> > instead of just the reference of the container f? >> >> > >> >> > I searched in the past threads and didn't any similar question. But >> this >> >> > may >> >> > be the case because what I'm asking is, again, a dumb question. >> >> > >> >> > Thanks. >> >> >> >> >> >> >> http://julia.readthedocs.org/en/latest/search/?q=code_lowered&check_keywords=yes&area=default# >> >> >> >> > >> >> > Calvin >> > >