For explanation, see https://github.com/JuliaLang/julia/issues/7232 (tl;dr:
better support for macro calls *without* parentheses)

The last one may come down to precedence rules, but worth filing an issue
to discuss.





On Wed, Apr 6, 2016 at 9:10 AM, Didier Verna <[email protected]> wrote:

>
>   Hello,
>
> 1. can somebody please explain why the "foo ()" syntax is deprecated ?
>
> 2. also, the warnings policy seems inconsistent to me, or I'm missing
> something:
>
> julia> foo (3)
> WARNING: deprecated syntax "foo (".
> Use "foo(" instead.
>
> julia> (+) (1, 2, 3)
> WARNING: deprecated syntax "+ (".
> Use "+(" instead.
>
> OK, but then calling "+ (1, 2, 3)" does not issue a warning.
>
> --
> ELS'16 registration open! http://www.european-lisp-symposium.org
>
> Lisp, Jazz, Aïkido: http://www.didierverna.info
>

Reply via email to