On Thu, Apr 26, 2012 at 4:02 PM, Thomas Costigliola <tcost...@gmail.com> wrote:
> This variation is very nice though! And it shouldn't be too difficult
> to add the leaf self references automatically from G...

Certainly, though that does need code:

NB. assert that </./G will work:
assert (~. -: i.@+&1@{:)@{. G

T=: [^:(0=#@])&.>/(<"0 i.1+>./,G),:</./G

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

Reply via email to