Have you looked at (<"1@[ { ]) which is backed by special code?
v0`(<"1@[)`v2} has no special code, but that might be worth doing.
Henry Rich
On 12/14/2017 12:37 PM, David Lambert wrote:
Because tables are a common data structure, is there interest in
shorthand indexing for them?
(<+.2j5) { i.8 8
21
Note 'concept'
let the index be
(<2j5) { rank 2 or higher
or even
2j5 { rank 2 or higher
(<+.2j5){ i.3#9 NB. -: 2j5 { i.3#9
207 208 209 210 211 212 213 214 215
I haven't considered amend or fetch, although the idea seems applicable.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by AVG.
http://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm