Le mercredi 20 avril 2016 à 16:22 +0100, Didier Verna a écrit :
> Milan Bouchet-Valat wrote:
>
> >
> > OTOH, short-circuit operators are in limited number (&& and ||).
> > Packages authors cannot create new ones without the user knowing
> Do you mean it's possible to create new short-circuit o
Milan Bouchet-Valat wrote:
> OTOH, short-circuit operators are in limited number (&& and ||).
> Packages authors cannot create new ones without the user knowing
Do you mean it's possible to create new short-circuit operators ?
> Yes. For example, DataFrames.jl and DataFramesMeta.jl provide
>
Isaiah Norton wrote:
> Just to follow up on this a bit: we've continually reworked the
> metaprogramming documentation because it can be an especially
> difficult concept for people who don't have a compiler background or
> Lisp experience. The most common sources of misunderstanding have been
>
cormull...@mac.com wrote:
> https://github.com/JuliaLang/julia/blob/3c354b4a391307d84915445bdd6fb464371f30fc/doc/at_macro_reasons
>
Nice, thanks :-)
--
ELS'16 registration open! http://www.european-lisp-symposium.org
Lisp, Jazz, Aïkido: http://www.didierverna.info
Le mercredi 20 avril 2016 à 15:34 +0100, Didier Verna a écrit :
> Matt Bauman wrote:
>
> >
> > It's nice for both humans (it's obvious that there could be some
> > non-standard evaluation semantics or other such funniness)
> Maybe for /some/ humans ;-), but I don't like this. It exposes
> im
>
> Yup, implicit return works for macros, too. The manual makes it explicit
> to emphasize the function-like syntax transformation (as opposed to
> CPP-like textual substitution).
Just to follow up on this a bit: we've continually reworked the
metaprogramming documentation because it can be an
On Wednesday, April 20, 2016 at 8:58:35 AM UTC-4, Didier Verna wrote:
>
>
> What's the rationale behind this particular way of invoking macros
> (the @ character) ?
It's nice for both humans (it's obvious that there could be some
non-standard evaluation semantics or other such funniness) an
https://github.com/JuliaLang/julia/blob/3c354b4a391307d84915445bdd6fb464371f30fc/doc/at_macro_reasons
I wrote:
> What's the rationale behind this particular way of invoking macros
> (the @ character) ? And why a single macro concept for two different
> things (with or without arguments) ?
Also, I'm wondering about the use of RETURN in all the one-liner
macro examples from the manual