-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A *(foo, bar) B was deprecated #41588
Comments
I don't believe this ever worked; the Julia syntax in that paper is |
@mbauman @ViralBShah disagrees, that the capability existed at some point. The paper http://math.mit.edu/~edelman/publications/novel_algebras.pdf explicitly references the capability. I am aware of the previous issue, but I have my doubts about any of the proposals there being implemented in the near future given the lack of discussion since 2016. I'll look further into that issue. Hopefully there's a workable proposal there. |
There was a funny infix version that did work back then, but this was all pre 1.0. |
You had to do |
Ah the space. It parses to multiplication by juxtaposition now or something to that effect if you don't have the second space. |
Even in Julia 0.1.2 (Mar 7, 2013) this parsed the way it does today: julia> VERSION
v"0.1.2+113667293.r7252"
julia> :(A *(max,+)B)
:(*(A,*((max,+),B)))
julia> :(A *(max,+) B)
ERROR: syntax: missing separator in tuple This predates me, and yes, I now see it in that figure caption, but I'd still be surprised if this ever worked (without some hacky |
I distinctly remember Alan showing that it worked. There were no other hacks. I am now curious and will try to dig this up. |
In any case, just to be clear, this is only of historical interest. I am not proposing reopening the issue. |
The paper Novel Algebras for Advanced Analytics in Julia makes use of the syntax
A *(foo, bar) B
. It looks like this was deprecated at some point.Is it possible for this syntax to make a return?
The text was updated successfully, but these errors were encountered: