On Fri, Aug 13, 2010 at 3:31 PM, R.E. Boss <[email protected]> wrote:
>   ({.,#)/.~ 10 40 10 10 20 30 40
> 10 3
> 40 2
> 20 1
> 30 1

Or (faster):
  (~.,. #/.~) 10 40 10 10 20 30 40
10 3
40 2
20 1
30 1

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

Reply via email to