I messed up the last part of my last message.  It should have been:

You can get what you want using instead,

   (".@:('p'"_) , 0 $ 'p' =:: ]) 'erling'
erling
   p
erling

   erase'p'
1

or

   (".@:('p'"_) , 0 $ 'p' =.. ]) 'erling'
erling
   p
erling

since =.. is easier to type and it is equivalent to =:: unless =.. is used
within an explicit environment (beware of the standard library verb load).

I hope it helps,

PS.  Personally, I do not rely on the actual sequential execution of the
tines of forks because I dream of the day when j/jx can execute them in
parallel.


On Sun, Oct 8, 2017 at 10:43 AM, Jose Mario Quintana <
[email protected]> wrote:

> Hi Erling,
>
> This might be repetitive because I have not read carefully the responses
> to your question.
>
> Allow me to try to illustrate the issue using =:: first.  The Jx verb =::
> can be modeled using the explicit,
>
>    cop=. '(x)=: y'(dyad :)
>
> The sentence,
>
>
>    (p , 0 $ 'p' =:: ]) 'erling'
> |value error: p
> |       (p,0$'p'=::])'erling'
> |[-4]
>
> fails for the same reason, whatever it is, that the sentence,
>
>    (p , 0 $ 'p' cop ]) 'erling'
> |value error: p
> |       (p,0$'p'cop])'erling'
> |[-1]
>
> fails.
>
> You can get what you want using instead,
>
>    (".@:('p'"_) , 0 $ 'p' cop ]) 'erling'
> erling
>    p
> erling
>
> or
>
>    erase'p'
> 1
>
>    (".@:('p'"_) , 0 $ 'p' =:: ]) 'erling'
> erling
>    p
> erling
>
> since =.. is easier to type and it is equivalent to =:: unless =.. is used
> within an explicit environment (beware of the standard library verb load).
>
> I hope it helps,
>
> PS.  Personally, I do not rely on the actual current sequential execution
> of the tines of forks because I dream of the day when j/jx can execute them
> in parallel.
>
>
>
> On Sun, Oct 8, 2017 at 10:32 AM, Erling Hellenäs <[email protected]
> > wrote:
>
>> I also remember it as extremely nice and friendly a long time ago. /Erling
>>
>>
>> On 2017-10-08 16:19, Roger Hui wrote:
>>
>>> Many people here have a habit of giving long lectures to people about
>>>> things they already know to make it appear like they are totally stupid
>>>> and they themselves are very clever and are teaching this stupid person
>>>> even the most basic things. /Erling
>>>>
>>> At 2004-10-21 09:44:37 -0400, Eric Iverson sent a message to the J Forum
>>> (
>>> http://www.jsoftware.com/pipermail/general/2004-October/018558.html)
>>> which
>>> included the following sentence:
>>>
>>> The J Forum was a particular joy for Ken [Iverson]. He was an avid reader
>>> and was amazed and pleased with the civility.
>>>
>>>
>>> I would like to see continuation of this civility, and posters avoid
>>> name-calling and other negative insinuations.  The J Forum and J
>>> community
>>> are an amazing resource and the civility is a main reason for it.
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>>
>>
>> ----------------------------------------------------------------------
>> 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