If you are writing adverb and conjunction using explicit
definition, then you are actually defining them using verbs
and a verb must return a noun otherwise syntax error.

I usually debug using dbr 1 but others may prefer gui debug 
ctrl-k.

Fri, 31 Jan 2020, Raoul Schorer написал(а):
> Hi,
> 
> I wrote a dyadic conjunction, that I call as:
> 
> x u conj v y, where x u v y are all nouns
> 
> However, I get the error "noun result was required". My conjunction
> actually yields a "suspended function" (thunk) in the form of a string
> wrapped in the "_ verb, as in ('recursive_function')"_
> I have two questions regarding that:
> 
> 
>    1. In JfC, it is stated that the result of a conjunction may be another
>    conjunction, and that conjunctions may return any part-of-speech. Can you
>    give me pointers on why this may fail as above?
>    2. If as I suspect, it is difficult to provide a general explanation,
>    can you point me towards ways of debugging such an issue, where I just get
>    an error from a function that yields a string to be interpreted (making
>    'dissect' apparently useless)?
> 
> 
> Thanks!
> Raoul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to