That would be a great idea. However, it would indeed take not only quite a bit 
of
time to set up, but would also need constant checking to make sure the updates
in the main branch don’t conflict with additions.
While I just said that I believe the main branch should probably concentrate on
the standard, one of the things I’ve really fallen in love with in J and that is
completely missing in standard APL is tacit definition. Not only does it allow
inversible functions and idiom detection for optimisation, but it is just simply
so elegant:
        mean ← +⌿ ÷ ≢

Louis

> On 05 Mar 2016, at 16:19, Elias Mårtenson <loke...@gmail.com> wrote:
> 
> On 5 March 2016 at 23:09, Louis de Forcrand <ol...@bluewin.ch 
> <mailto:ol...@bluewin.ch>> wrote:
> While talking about features to add, instead of introducing a new function 
> header
> style, IMHO a new local assignment function would be more useful.
> For example, instead of typing
>       ∇Z←X F Y;A;B;C
> to declare local variables, instead one would simply type
>       ∇Z←X F Y
> and then assign variables A, B, and C using the local assignment arrow.
> This would apply to the previously discussed header as:
>       ∇multi a
>       (a1 a2 a3)⍅a
>       …
> 
> I have thought about creating an alternative branch where these things can be 
> experimented with. Unfortunately I haven't had the time, and I also haven't 
> thought of any extensions that are so incredibly cool that I absolutely have 
> to out and implement them. :-)
> 
> Regards,
> Elias 

Reply via email to