uld be possible to encapsulate a gerund, and
> bracketing a group is a pretty easy way to make it happen, and hard to do
> accidentally. The case against it is that it is already pretty easy.
>
>
> +`- ar
>
> - Original Message -
> From: Raul Miller
> To: P
mplicity of your function.
>
>
>
>
> - Original Message -
> From: Raul Miller
> To: Programming forum
> Sent: Friday, January 6, 2017 12:13 PM
> Subject: Re: [Jprogramming] fixed tacit produces an error when reassigned
>
> Here's an explicit treatemen
ows combining gerunds into 2 if trying to (useful for stitching
> togeter gerund terms for example). Though arguably a separate function could
> do that too, and there's reason to prefer the simplicity of your function.
>
>
>
>
> - Original Message -
> From:
could do that
too, and there's reason to prefer the simplicity of your function.
- Original Message -
From: Raul Miller
To: Programming forum
Sent: Friday, January 6, 2017 12:13 PM
Subject: Re: [Jprogramming] fixed tacit produces an error when reassigned
Here's an explicit
dA =: 1 : ' if. isNoun ''u'' do. isgerund m else. 0 end.'
>> tie =: 2 : 'if. u isgerundA do. if. v isgerundA do. m ar , v ar else. m ,
>> v ar end. else. if. v isgerundA do. u ar , n else. u ar , v ar end. end. '
>>
>> so the above could b
(lr) and input as
>
> 1`..+
>
> but
>
>
> (<(,'0');1)`+
>
> wouldn't break anything since its a valid lr that creates the valid
> gerund. I can't imagine anyone was relying on buggy lr output that doesn't
> convert back to ar form.
>
>
>
f. v isgerundA do. u ar , n else. u ar , v ar end. end. '
so the above could be displayed (lr) and input as
1`..+
but
(<(,'0');1)`+
wouldn't break anything since its a valid lr that creates the valid gerund. I
can't imagine anyone was relying on buggy lr output that
I understand this problem a little better now.
The trouble would be something like
v0`v1`n2`v3
where the n2 is a user-created AR. How should you convert this back to
linear rep?
There are no fingerprints to indicate that a gerund was created by (`)
turning a verb into an AR. So when the L
I was pointing out those bugs
- Original Message -
From: Henry Rich
To: programm...@jsoftware.com
Sent: Wednesday, January 4, 2017 5:15 AM
Subject: Re: [Jprogramming] fixed tacit produces an error when reassigned
I'm not sure what you are pointing out but:
[ `(1 ar)`]
and
pen with the `: family or /
a different bug happens with explicit adverbs
(1 ar)`>: (1 : 'u y')
(<(,'0');1),<'>:' (1 : 'u y')
should be
((<(,'0');1),<'>:') 1 : 'u y'
((<(,'0');1),<
#x27;)
(<(,'0');1),<'>:' (1 : 'u y')
should be
((<(,'0');1),<'>:') 1 : 'u y'
((<(,'0');1),<'>:') 1 : 'u y' NB. bug is reintroduced.
(<(,'0');1),<'>:' (
Operands to modifiers such as m}, ^:n, m`, and `n are flagged if they
are recognized as gerunds.
This seems to me to be a mistake for m` and `n: they should not be
flagged until the derived adverb has been executed. The problem you
report is that m/n are interpreted as if they had come from c
Unfortunately, the username, PepeQuintana, that used to work for the J
website stop doing so awhile ago. I also unsubscribed another email
account to other J forums, that was easy; but, although I completed a new
subscription without errors, using this mail account, I could not post to
the other J
Please make sure this is on the bug list (Errors) in the Wiki.
Henry Rich
On 1/3/2017 11:18 AM, Jose Mario Quintana wrote:
Sorry, I pressed the wrong button and my previous message was incomplete;
this should have been the full message:
I am afraid it is the superbug that has been discovered a
Sorry, I pressed the wrong button and my previous message was incomplete;
this should have been the full message:
I am afraid it is the superbug that has been discovered and rediscovered a
few times; see [0, 1, 2 and 3].
References
[0] [Jprogramming] Table of Verbs, Jose Mario Quintana
http:
I am afraid it is the superbug that has been discovered and rediscovered a
few times; see [0, 1, 2 and 3].
References
[0] [Jprogramming] Table of Verbs, Jose Mario Quintana
http://www.jsoftware.com/pipermail/programming/2013-April/032358.html
[1] [Jprogramming] tacit adverb, Dan Bron
ht
Yes - '1&$: :' is cool.
On 2014.04.03 13:34:03, you,
the extraordinary Ric Sherlock, spake thus:
> From: Ric Sherlock
> Subject: Re: [Jprogramming] Fixed tacit
> Date: Thu, 3 Apr 2014 13:34:03 +1300
> To: Programming JForum
>
> v=: 1&$: : ([: % [ ^"_
We need to address tacit default argument and rank to solve this problem.
Remembering that the colon separation is a conjunction and therefor
you'll usually need to parenthesize the dyadic portion of the verb,
Your case is particularly interesting because it shows that rank can
generate tables
v=: 1&$: : ([: % [ ^"_ 0~ >:@])
On Thu, Apr 3, 2014 at 1:05 PM, Nollaig MacKenzie wrote:
>
> Inelegantly shooting from the hip: does this give
> the right answers?
>
> v=: %@>: :(%@(>:@]) ^"0 [)
>
>
>
> On 2014.04.03 09:22:24, you,
> the extraordinary William Szuch, spake thus:
>
> >
> > I wou
Inelegantly shooting from the hip: does this give
the right answers?
v=: %@>: :(%@(>:@]) ^"0 [)
On 2014.04.03 09:22:24, you,
the extraordinary William Szuch, spake thus:
>
> I would like to convert the follow explicit to a fixed tacit.
>
> Any help or suggestions greatly appreciated.
>
>
v2=:(%@>:) : ([:%[^~[:>:])
v2 5
0.17
2 v2 5
0.028
--
For information about J forums see http://www.jsoftware.com/forums.htm
21 matches
Mail list logo