Adverbs and conjunctions can (depending on their definition) produce a
noun, verb, adverb or conjunction.
Of course, for this to be manageable, you should probably document the
purpose of any such adverb or conjunction.
The : conjunction is an example of this. (And the !: conjunction is an
example of a conjunction which usually produces a noun.) Or, for
example, consider {{ m : n }} which is basically just a longwinded way
of expressing : (but of course, m and/or n could be computed or could
be constants or whatever).
That said, it is possible to construct adverbs and conjunctions
tacitly. See https://code.jsoftware.com/wiki/Vocabulary/fork#invisiblemodifiers
for example.
I hope this helps,
--
Raul
--
Raul
On Sat, Jul 2, 2022 at 6:15 AM Jacques Bailhache
<[email protected]> wrote:
>
> If I understood correctly :
> - A monad applies to a noun and produces a noun
> - A dyad applies to two nouns and produces a noun
> - An adverb applies to a verb or a noun and produces a verb
> - A conjunction applies to two verbs or nouns and produces a verb
> but does there exist something that produces an adverb or a conjunction ?
> In other terms, is it possible to write a tacit definition of an
> adverb or a conjunction without using an explicit definition like
> myadv =: 1 : '...'
> or
> myconj =: 2 : '...' ?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm