He does not have such a sentence, as near as I can tell.

Here's the statements which would be generating those messages:

CODE=: {{)n
cocurrent 'z'
isNoun =: (0 = 4!:0 ::0:)@:<
isgerund =: 0:`(0 -.@e. 3 : ('y (5!:0)';'1')"0)@.(0 < L.) :: 0:
ar =: 1 : '5!:1 <''u'''
ari =: 1 : 'if. isNoun ''u'' do. if. (isgerund -.@+. '''' -: ]) m do.
m ar else. m end. else.u ar end.'
ti =: ari ` ari  NB. different from doubleadverb2.ijs: '' is passed to
` . boxed non gerund is ar'd ie a:`u
F0 =: 1 : 'u ti ti `: 6'
v2c =: 1 : '[. u ].'
F1 =: 1 : '(ti u) ti (''''ti) `:6'
F2 =: 1 : 'ti ti u `: 6'

F01 =: ((ti (2 : 'ti')))(`:6)
F02 =: 2 : '(u`)(`v)(`:6)'
F02 =: ( ([.(2 : 'ti')) (2 : 'ti' ].) ) (`:6)
F12 =: (2 : 'ti'  ti) `: 6

F =: F12 NB. chosen for composition consistency, but F1 still very useful

 amend =: [` ([. ` ar) `{`] `: 6 ` (]."_) `] }~~

 NB. means from partial modifiers

 means =: #F2
 mean =: +/ means %
 meang =: */ means (%:~)
 meanh =: +/@:% means (%~)
}}
0!:101 CODE

And, testing, those messages do not appear when these statements are run in jqt

So there is something specific about the webassembly port of J which
is causing these messages to appear.

FYI,

-- 
Raul

On Mon, Mar 28, 2022 at 10:07 PM Henry Rich <[email protected]> wrote:
>
> Why do you have such a sentence?  Do you need it?  I want to make those
> an error, because beginners frequently create them by mistake.  What
> does it do for you?
>
> Henry Rich
>
> On 3/28/2022 9:21 PM, 'Pascal Jasmin' via General wrote:
> > Expressions that return verbs create those error messages even though verb 
> > is still returned from expression (if not assigned)
> >
> >   +/ %F # (from linked playground)
> >
> >
> >
> >
> >
> >
> > On Monday, March 28, 2022, 09:15:25 p.m. EDT, Raul Miller 
> > <[email protected]> wrote:
> >
> >
> >
> >
> >
> > Hmm...
> >
> > We could probably do with a denser way of expressing code. (I can
> > think of several possibilities here.)
> >
> > But, also, I ran into a problem testing this:
> >
> >      mean =: +/ means %
> > (007) noun result was required
> > (007) noun result was required
> >      meang =: */ means (%:~)
> > (007) noun result was required
> > (007) noun result was required
> >      meanh =: +/@:% means (%~)
> > (007) noun result was required
> > (007) noun result was required
> >
> > FYI,
> >
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.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

Reply via email to