[Jprogramming] How m"n shoulda been defined

Henry Rich HenryHRich at nc.rr.com
Sun Aug 9 13:20:00 UTC 2015


All the partitioning modifiers (\ /. \. ;. etc) allow u to be a gerund 
that is applied cyclically to the partitions.  Thus, +`-/. applies + and 
- alternately.

All the modifiers, that is, except one.  The simplest one.  One that 
perhaps wasn't thought of as partitioning, though it clearly does.  It 
partitions the y argument into cells.

If m"n had been defined consistently with the other partitioning 
modifiers, we would be able to write +`-"_1 to have different verbs 
applied to items.  This would have saved dozens of emails over the years 
searching for a good way to perform this often-needed operation.

The constant-verb would have to move somewhere else: m&n, m at n, and many 
other places are free.

For the next language.

Henry Rich


More information about the Programming mailing list