I almost always configure J so that display for verbs is
   9!:3]5

(The exceptions are when I'm doing something like 9!:3]4 1 6).

The default display works, but I do not get much out of it.

I hope this helps,

-- 
Raul

On Tue, Sep 14, 2021 at 6:24 AM R.E. Boss <r.e.b...@outlook.com> wrote:
>
> I have this (nonsense) script
>
>    foo=: {{ z=.x+3*y
>  z=.{{ (<}:y),~(2{."1 x);(2}."1 x) ([* ({~<:)"1~) 1 _1{~2|}:y  NB. bla bla
> (t2=. 0 1 2 1 2 1 0{~ (4|x0{~<:|{.y0)+3*0>{.y0){ +/"2((2 0 *]),:]) y0{UV
>   }}
> z
> }}
>
> which displays as
>
>    foo
> +-+-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
> |4|:|z=.x+3*y                                                                 
>                                                                               
>  |
> | | | z=.{{ (<}:y),~(2{."1 x);(2}."1 x) ([* ({~<:)"1~) 1 _1{~2|}:y  NB. bla 
> bla (t2=. 0 1 2 1 2 1 0{~ (4|x0{~<:|{.y0)+3*0>{.y0){ +/"2((2 0 *]),:]) y0{UV  
> }} |
> | | |z                                                                        
>                                                                               
>  |
> +-+-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> and becomes unreadable, at least for me.
>
> Is this meant to be like this, that a comment in a nested definition  
> concentrates the rest in one line?
>
>
> R.E. Boss
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to