I've been doing code golf puzzles to improve my J.  I'd appreciate any feedback on my solution to this problem.The task is to take an integer and produce an ascii triangle as follows:5 |\    | \   |  \  |   \ |    \------My solution:(#&'| \' @ (1,1,~])0 i.) , ('-'#~>:)
ASCII triangle in J
ascii art;j
Based on the approach miles took on your code golf submission:*,&'-' '|',.'\'{.0~_1-iI shortened it slightly to this:*,&'-' '|',.' \'{~=@i.Both of the above pass n=0