I think the OP's question is not about the difference between a macro and a function, but rather about the syntactic way of defining a macro: if a macro can be seen as a function taking an expression and returning another one, why can't we just define a macro with the standard function syntax (i.e. without the macro keyword), and inform the compiler that we want to use it as a macro only at the call site, by invoking it prepended with the @ sign.
- Re: [julia-users] Uniform syntax Stefan Karpinski
- [julia-users] Re: Uniform syntax Ford O.
- [julia-users] Re: Uniform syntax Steven G. Johnson
- Re: [julia-users] Re: Uniform syntax Tamas Papp
- Re: [julia-users] Re: Uniform syntax Ford O.
- Re: [julia-users] Re: Uniform syntax Tamas Papp
- Re: [julia-users] Re: Uniform syntax Ford O.
- Re: [julia-users] Re: Uniform synt... Tamas Papp
- Re: [julia-users] Re: Uniform ... Ford O.
- Re: [julia-users] Re: Uniform ... Erik Schnetter
- Re: [julia-users] Re: Uniform ... Rafael Fourquet
- Re: [julia-users] Re: Uniform ... Ford O.
- Re: [julia-users] Re: Uniform ... Steven G. Johnson
- Re: [julia-users] Re: Uniform ... Scott Jones
- Re: [julia-users] Re: Uniform ... Stefan Karpinski
- Re: [julia-users] Re: Uniform ... Yuri Vishnevsky
- [julia-users] Re: Uniform syntax Ford O.
