Dan Bron wrote:
> What are some other, faster, leaner, cooler or more elegant ways
> to transform the output of  tri  into the output of  triangle  ?

   clean=: [: (#"1~ (<: >./\)/@('01' =/ ])) ":@|."1
   clean tri 10

-- 
Raul

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

Reply via email to