Hello,

Why does the following raises a length error:
((#~.) ~: #) 1 2 3 4 1

Why isn't it like:
(# ~. 1 2 3 4 1) ~: (# 1 2 3 4 1)

Goal: to check if there a duplicates in an array..


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

Reply via email to