On Tue, Jul 21, 2009 at 7:48 AM, david alis<[email protected]> wrote:
> one possible way to reduce verbosisisity:
> A=:  1 : 0
> 'a b c'=.u
> a=. (<a) 5!:0   @[
> b=. (<b) 5!:0 �...@[
> c=. (<c) 5!:0 �...@[
> (a f.)`(b f.)`(c f.)}~
> )

You know that instead of

'a b c'=.u
a=.a 5!:0
b=.b 5!:0
c=.c 5!:0

you can instead say just

'`a b c'=.u

also I usually write ([email protected]) instead of (a 5!:0).

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

Reply via email to