I think you should better than I that J does not support closure without change the current syntax.
That being said, a workaround is to first apply "s/^ //" to the noun (untested). being Пнд, 30 Май 2011, Raul Miller писал(а): > This does not work: > > 0 !:0 > coclass 'example1' > f=:3 :0 > (+/ % #) y > ) > g=:3 :0 > (1 + f) y > ) > ) > > Do we have a simple way of presenting a class definition that does not > require retaining the context of where it is being used (interactively > or in another script, and/or which locale is being used in the larger > context), that also allows multi-line explicit definitions? > > Thanks, > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
