Page 1 of 1

Allow more primitives to the left of the assignment primitiv

PostPosted: January 22nd, 2014, 12:50 pm
by Eric.Lescasse
Hi,

I love the new catenation syntax you introduced in +Win v13.1.
Not only is it so much faster, but it also reduces typing a lot. Moreover, I even got surprised how often it gets used in my APL programs: just everywhere!

So, as I already mentioned in Emails, here are a few wishes for a future version of APL+Win:

Code: Select all
      a-←...
      a×←...
      a÷←...
      a⌈←...
      a⌊←...


Of course you could extend this to other scalar dyadic primitives, but the 6 above ones would already be great.

Additionally, it would be quite useful to support Each at the left of the assignment primitive. This could also reduce typing significantly in our APL programs and simplify coding.

Example:

Code: Select all
      aaa←'eric' 'marie' 'anne'
      aaa,¨←⊂' lescasse'
SYNTAX ERROR
      aaa,¨←⊂' lescasse'
          ^


Eric

Re: Allow more primitives to the left of the assignment prim

PostPosted: January 24th, 2014, 11:25 am
by brent hildebrand
a+←1
I'd like to second Eric. :D

:idea: And add to that, Union, dyadic nub, (a∪b) and Intersection, (a∩b)

Re: Allow more primitives to the left of the assignment prim

PostPosted: March 8th, 2014, 9:55 pm
by Tech Support
This enhancement is also very high on our "to-do" list. So be watching for it in a future update.