metaperl.j wrote:
> 
> tally_map =: value = y
> 

Typo city. Here's the solution:

indexOf =: 4 : 0
indices =: i. # x
tally_map =: x = y
tally_map # indices
)

-- 
View this message in context: 
http://www.nabble.com/finding-the-index-of-an-element-in-a-list-tf4593778s24193.html#a13114307
Sent from the J General mailing list archive at Nabble.com.

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

Reply via email to