RM> This seems a bit more concise (and should also work under J5,
RM> which I'm guessing you are still using):
RM> dcat=:1 :', m&,'
Thanks Raul, I was looking for something like that but unable
to come up with a solution. Indeed, I'm still a bit mystified why
your expression is dignified to work whereas my first attempt
with 1 : 'x. , m. , y.' only draws a "valence error".
The only working "truly tacit" (i.e., without 1 : ) adverb definition
I could come up with so far looks a bit atrocious:
dc =. (]:&,@]) ,~ [
(This also gives a hint on the version I'm using: not J5 but
a slightly patched J4.05. BTW, dcr is a hundred times faster
than dcat/ or dc/ there.)
Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm