Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-07 Thread Raul Miller
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-06 Thread 'Pascal Jasmin' via Programming
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-06 Thread Raul Miller
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:

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-06 Thread 'Pascal Jasmin' via Programming
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-06 Thread Raul Miller
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-06 Thread Jose Mario Quintana
(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. > > >

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-05 Thread 'Pascal Jasmin' via Programming
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-05 Thread Henry Rich
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-04 Thread 'Pascal Jasmin' via Programming
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-04 Thread Henry Rich
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),<

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread 'Pascal Jasmin' via Programming
#x27;) (<(,'0');1),<'>:' (1 : 'u y') should be ((<(,'0');1),<'>:') 1 : 'u y' ((<(,'0');1),<'>:') 1 : 'u y' NB. bug is reintroduced. (<(,'0');1),<'>:' (

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread Henry Rich
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread Jose Mario Quintana
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread Henry Rich
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

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread Jose Mario Quintana
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:

Re: [Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread Jose Mario Quintana
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

Re: [Jprogramming] Fixed tacit

2014-04-02 Thread Nollaig MacKenzie
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&$: : ([: % [ ^"_

Re: [Jprogramming] Fixed tacit

2014-04-02 Thread David Lambert
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

Re: [Jprogramming] Fixed tacit

2014-04-02 Thread Ric Sherlock
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

Re: [Jprogramming] Fixed tacit

2014-04-02 Thread Nollaig MacKenzie
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. > >

Re: [Jprogramming] Fixed tacit

2014-04-02 Thread Don Guinn
v2=:(%@>:) : ([:%[^~[:>:]) v2 5 0.17 2 v2 5 0.028 -- For information about J forums see http://www.jsoftware.com/forums.htm