Yes, the slogan defining Simple J is only a slogan.  I would cheerfully 
sneak in

    4!:0 <'each'
1
    each
&.>

as an adverb and

    mm =: +/ . *
    4!:0 <'mm'
3

as a verb.

If someone can do what you do below, he no longer needs Simple J, simply 
understood, and can probably do it instead as an easily understood 
explicit verb.

On 11/15/2011 9:59 AM, Raul Miller wrote:
> Here is an example of the use of an explicit definition, without using any
> conjunctions:
>
> require'misc'
> defini=: 't=. prompt y',:'smoutput ''you entered: '',t'
> simple=: [:<  ':' (;<) ('0'; 3) (;<) '0'; ]
>
>     ((simple defini)\~ #) 'Prompt: '
> Prompt: hi!
> you entered: hi!
>
> You might argue that require and prompt actually depend on some
> conjunctions, but I think that the same could be said of some J verbs (if
> you look at the source code for J, you will see J sentences being used at
> various points, inside the interpreter).
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to