It's a little different, but macro invocation is similar to pass by name semantics, in that variables are substituted directly into an expression at compile time.
Cheers, Kevin On Wednesday, October 14, 2015, Stefan Karpinski <[email protected]> wrote: > No, Julia only supports one evaluation strategy: strict evaluation with > pass-by-sharing semantics. > > On Thursday, October 15, 2015, <[email protected]> wrote: > >> I mean evaluation strategy. >> >> for example, in scala you use :=> syntax for call by name evaluation >> strategy. is there a similar syntax in Julia? >> Thanks >> >> On Wednesday, October 14, 2015 at 1:01:45 PM UTC-7, Stefan Karpinski >> wrote: >>> >>> Do you mean the evaluation strategy >>> <https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_name>? Or keyword >>> arguments >>> <http://docs.julialang.org/en/release-0.4/manual/functions/#keyword-arguments> >>> ? >>> >>> On Wed, Oct 14, 2015 at 11:17 PM, <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I was wondering whether there is a syntax for call by name parameter >>>> passing ? >>>> >>>> Thanks. >>>> >>> >>>
