[Jprogramming] Question about dyadic verb composition

dahn oak danylo.dubinin at gmail.com
Tue Jul 12 13:19:07 UTC 2016


Thank you, Raul. It's quite complicated for understanding yet, but I
appreciate it!

Tue, 12 Jul 2016 09:04:01 -0400
Raul Miller <rauldmiller at gmail.com>:
> No, but you can make one.
> 
> For example:
> 
>    x(((<<<_2){{.,@,.}.)[`u`v`w`...`])y
> 
> I hope this helps.
> 
> -- 
> Raul
> 
> 
> On Tue, Jul 12, 2016 at 8:38 AM, dahn oak <danylo.dubinin at gmail.com> wrote:
> > Hello, is there any language cunstruction that is equivalent to:
> >    x u x v x w ... y
> > where x and y are the arguments of the construction and u,v,w,... is a
> > sequence of dyadic verbs?
> >
> > I just don't want to duplicate my x argument many times. Specifically, I
> > want to do something like 10,~10,.~10,10,.y where y is a scalar matrix to
> > make a "border" for it (number 10).
> >
> > dahn oak - danylo.dubinin at gmail.com
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

dahn oak - danylo.dubinin at gmail.com


More information about the Programming mailing list