Re: [Jprogramming] Rank of i: monadic (Steps) vs. #: monadic (Antibase 2)

2017-01-03 Thread Raul Miller
This seems like an unusual design decision: (t 3 3) -: t 3 3 3 3 3 1 -- Raul On Wed, Jan 4, 2017 at 12:57 AM, robert therriault wrote: > If i: were redefined with monadic rank 1 then this definition of t could be a > replacement for i: > >t=: ({: +/&i: {.)`i:@.(1=#) >t 3 > _3 _2 _

Re: [Jprogramming] Rank of i: monadic (Steps) vs. #: monadic (Antibase 2)

2017-01-03 Thread robert therriault
If i: were redefined with monadic rank 1 then this definition of t could be a replacement for i: t=: ({: +/&i: {.)`i:@.(1=#) t 3 _3 _2 _1 0 1 2 3 t 3 3 _6 _5 _4 _3 _2 _1 0 _5 _4 _3 _2 _1 0 1 _4 _3 _2 _1 0 1 2 _3 _2 _1 0 1 2 3 _2 _1 0 1 2 3 4 _1 0 1 2 3 4 5 0 1 2 3 4

Re: [Jprogramming] Rank of i: monadic (Steps) vs. #: monadic (Antibase 2)

2017-01-03 Thread Raul Miller
The rank of i. is not zero, but it's difficult to see how a variant on i: could use that approach. If you get to messing with padding, you might also want to be messing with left/center/right alignment. That's all I can think of right now. -- Raul On Tue, Jan 3, 2017 at 4:40 PM, robert therri

Re: [Jprogramming] Rules for inversing a user defined verb

2017-01-03 Thread Raul Miller
On Tue, Jan 3, 2017 at 4:22 PM, Adam Tornhill wrote: >> 30 december 2016 15:27 skrev Don Guinn : >> Obverse (:.) allows one to define an obverse to a user defined verb. > > Thanks! Is this also the way the obverses of primitives are defined in the > implementation of J? No, but it is closely rel

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

2017-01-03 Thread 'Pascal Jasmin' via Programming
The problem that I originally reported is with "internal" lr, as a verb that is functional, cannot be reassigned to its LR. ar =: 1 : '5!:1 <''u''' [ `(1 ar)`]} is not the same as this result [`1`]} though actual lr does not try to get as fancy with substituting ` lr ] ` (1 ar) ` ] (<,']

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

[Jprogramming] Rank of i: monadic (Steps) vs. #: monadic (Antibase 2)

2017-01-03 Thread robert therriault
I was looking at the ranks of primitives and was wondering if there was a particular justification for the rank of monadic i: (Steps) being 0. In fact, I began this by looking at monadic #: (Antibase 2) and wondering why its rank was _ . Both verbs seem to act on their arguments in similar ways

Re: [Jprogramming] Rules for inversing a user defined verb

2017-01-03 Thread Adam Tornhill
> 30 december 2016 15:27 skrev Don Guinn : > > Obverse (:.) allows one to define an obverse to a user defined verb. Thanks! Is this also the way the obverses of primitives are defined in the implementation of J? -- For informa

Re: [Jprogramming] Fwd: j805: Script causes jqt to crash. malloc_error_break or segfault in jconsole.

2017-01-03 Thread Henry Rich
This was a bug in memoization (M.). A memory block was freed twice. I have fixed it. The error might be a longstanding problem - I'm not sure. In 32-bit J6.02 the sentence executes but gives a different result (one that is smaller than 50 f 167, so I think the J6.02 result is wrong). Or,

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

[Jprogramming] fixed tacit produces an error when reassigned

2017-01-03 Thread 'Pascal Jasmin' via Programming
This file works j804 and j805, when copied and run with F8, you may need to fix newlines NB. NB. Wicked Tacit Toolkit... NB. NB. Load it usin