Re: what is the mean that call function start with a dot.

2019-09-21 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, September 21, 2019 10:32:08 PM MDT Paul Backus via Digitalmars- d-learn wrote: > On Sunday, 22 September 2019 at 04:15:53 UTC, lili wrote: > > Hi: > > > >yesterday I saw some d code, where is an .fn() call syntax, > > > > what is it mean. > > It means that `fn` is looked up in the

Re: what is the mean that call function start with a dot.

2019-09-21 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 22 September 2019 at 04:15:53 UTC, lili wrote: Hi: yesterday I saw some d code, where is an .fn() call syntax, what is it mean. It means that `fn` is looked up in the module's top-level scope. Source: https://dlang.org/spec/expression.html#identifier

what is the mean that call function start with a dot.

2019-09-21 Thread lili via Digitalmars-d-learn
Hi: yesterday I saw some d code, where is an .fn() call syntax, what is it mean.