Sure, one can and you are not alone.  Personally, I prefer other means, for
example,

   erase ' p q'
1 1

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

   ('q' =.. ])@:<@:".@:('p'"_)@:('p' =.. ]) 'erling'
┌──────┐
│erling│
└──────┘

   p (,&:<) q
┌──────┬────────┐
│erling│┌──────┐│
│      ││erling││
│      │└──────┘│
└──────┴────────┘

If my memory is not tricking me, originally the Dictionary did not imply an
order of execution for the tines of forks.  Subsequentially, an additional
explanation was inserted and an order was implied; but, apparently, it was
an unintentional consequence.  I think the most current version of the
Dictionary does not imply an order but I could be wrong.

Anyway, I try not to rely on an order just in case; I break enough rules
already ;).  Besides, who knows what the future might bring.



On Sun, Oct 8, 2017 at 12:48 PM, Erling Hellenäs <[email protected]>
wrote:

> You'll avoid using this, but it's there if you really need it for
> something special? /Erling
>
>
> On 2017-10-08 16:54, Jose Mario Quintana wrote:
>
>> 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
>>
>
>
> ----------------------------------------------------------------------
> 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