Yes, this is reasonably readable. Besides familiarity issues, 
the embellishment of @: may be perceived as excessive.

> reasonably fluent J readers would find the following easier to 
> parse/understand:
>      isMunchausen =: = +/@:^~@:digits

Sometimes horizontal space may be used for grouping:

      isMunchausen=: = +/ @: ^~ @: digits

Note also, no space is expected before =: unless aligned vertically
in a group of lines. Doing so the meaning of copula is made distinct
from the other primitives.


> From: "Sherlock, Ric" <r.g.sherl...@massey.ac.nz>

> 
> > From: Tracy Harms
> >
> > ... 
> > So it is that I put here the following J with a request for
> > descriptions of the reading experience. How clear is it to you what is
> > going on, as you look through this? Perhaps more interesting, *how* is
> > it clear to you?
> > 
> >    3435 = +/ ^~ 3 4 3 5
> > 1
> > 
> >    digits =: 10&#.^:_1
> >    o =: @:
> >    isMunchausen =: = +/ o ^~ o digits
> > 
> >    isMunchausen 3435
> > 1
> > 
> >    isMunchX =: verb :'y = +/ ^~ digits y'
> > ...
> 
> This seems pretty straight forward and clear to me. 
> Perhaps the thing that I find hardest in the tacit version is the use of "o" 
> to 
> represent "@:" (requires an extra level of mental substitution).  I think 
> most 
> reasonably fluent J readers would find the following easier to 
> parse/understand:
>      isMunchausen =: = +/@:^~@:digits
> 
> ... which is more obviously a 2-verb train (hook)
> 
> However I imagine someone not familiar with J would find that more 
> intimidating.


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

Reply via email to