This should be easy, but I don't see it.

a =: i. 2 3 4

I want the f in ab =: f a where $ ab is 6 4.

f =: |: @: (,"2 &.(0 1&|:)) seems to work , and f f. doesn't simplify it,
but I keep thinking I'm missing a way to drop the leftmost |: .

Ideas?

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

Reply via email to