Hi Forum,

say, I do have an arbitrary array M:

M =: 3 4 $ ?~12

Now I want to apply some monadic verbs to M, like:

N =: |: >: *: M

It seems to me, that the tacit way to combine the verbs |: >: *: makes
heavy use of [:, which makes the tacit form pretty verbose for such a
simple task:

tv =: [: |: [: >: *:

Since I seem to stumble above the need to chain some monadic verbs to
process some noun quite often, I wonder what the most idiomatic J-way is to
handle that kind of construct. Is it the tacit form tv from above? Is there
a better tacit form? Would it be the explicit form ev =: 3 : '|: >: *: y'?
Or does it depend on some parameter I don't see yet?

I'd really like to hear some opinions on this.

Kind regards,

Thomas
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to