I wrote:
(, {.data) =. , (<@:,;.1~ a: , (<1) #~ _1 + #@:$) }. data
Just realized this is exactly the same as Raul's original
({.data)=:<"1|:}.data
so that's the general solution after all. Apologize for the noise.
-Dan
--
View this message in context:
http://www.nabble.com/Where-to-put-user%27s-own-libraries--tp15397664s24193p15467326.html
Sent from the J Programming mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm