Allow more primitives to the left of the assignment primitiv

General discussions on potential enhancements to the APL+Win system.

Allow more primitives to the left of the assignment primitiv

Postby Eric.Lescasse » January 22nd, 2014, 12:50 pm

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
Eric.Lescasse
 
Posts: 52
Joined: February 8th, 2007, 7:55 pm
Location: Paris, France

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

Postby brent hildebrand » January 24th, 2014, 11:25 am

a+←1
I'd like to second Eric. :D

:idea: And add to that, Union, dyadic nub, (a∪b) and Intersection, (a∩b)
brent hildebrand
 
Posts: 538
Joined: February 12th, 2007, 5:53 pm
Location: Loma Linda, CA

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

Postby Tech Support » March 8th, 2014, 9:55 pm

This enhancement is also very high on our "to-do" list. So be watching for it in a future update.
Tech Support
 
Posts: 1230
Joined: February 10th, 2007, 7:33 am
Location: Rockville, MD


Return to APL+Win Wish-List

Who is online

Users browsing this forum: No registered users and 17 guests