i'd like to be able to remove a trailing [1] from a Data's shape.

eg.

re form Data so
[3 2 1 <- $ Data]
becomes
[3 2 <- $ dropTrailingRank Data]


i have
dropTrailingRank =. (}:@$  $  ,)
which seems kind of clumsy.

My gut tells me there's a one or two character way of doing this, but 
for the life of me, i can't find it.
Is my gut a liar?


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

Reply via email to