Someone can make a macro for Mathematica's pattern matching syntax.

On Saturday, September 3, 2016 at 7:13:20 AM UTC-7, Andrew Dabrowski wrote:
>
> But what about nested pattern matching, or destructuring, isn't that much 
> easier in Mathematica than Julia?  For example defining a function of two 
> lists by
> f[{w_,x_}, {y_,z_}]:=x y/(w+z).
>
> I remember reading the Julia manifesto a few years ago, where the stated 
> goal was to create a single computing language that would replace Fortran, 
> scipy, Mathematica, Matlab, etc. simultaneously.  I thought at the time 
> that it sounded nuts. 
>
> Can we all agree now that it was, in fact, nuts? 
>
>

Reply via email to