Re: [Jprogramming] A puzzle

2013-06-10 Thread Thomas Costigliola
Yes, I meant, as in the original problem stated by Henry, v to have no side effects. I am thinking I have a reason it is not impossible but I should double check my logic before posting for once. On Mon, Jun 10, 2013 at 3:11 PM, Raul Miller wrote: > On Mon, Jun 10, 2013 at 2:12 PM, Thomas Cost

Re: [Jprogramming] A puzzle

2013-06-10 Thread Raul Miller
On Mon, Jun 10, 2013 at 2:12 PM, Thomas Costigliola wrote: > Can you write v such that > > 0 = (v i.2 3) -: (]&v i.2 3) v=: ? Or, if you prefer: STATE=:0 v=:3 :0 STATE=: STATE+1 ) But if you also require 0 = (v i.2 3) -: (v i.2 3) ...that would be a different problem. -- Raul --

Re: [Jprogramming] A puzzle

2013-06-10 Thread Thomas Costigliola
;>> >>>> > >>> Does x ]@(v) y necessarily produce the same result as x ]@v y ? >>>> > >>> >>>> > >>> I'm trying to prune out lines of inquiry which would be >>>> unsurprising or >>>> > >

Re: [Jprogramming] A puzzle

2013-06-10 Thread Raul Miller
fail to prohibit it), then it is fascinating! >> >>> >> >>> -Dan >> >>> >> >>> Please excuse typos; composed on a handheld device. >> >>> >> >>> On Jun 7, 2013, at 4:39 PM, Henry Rich wrote: >> >>&g

Re: [Jprogramming] A puzzle

2013-06-10 Thread Thomas Costigliola
gt; argument, >>> > >>> phrases like ]@+/ and ]@(+/) are fundamentally different, even if >>> they >>> > >>> produce the same results when applied to arguments. In short, if >>> my v >>> > is >>> > &g

Re: [Jprogramming] A puzzle

2013-06-10 Thread Thomas Costigliola
> > >>> On Jun 7, 2013, at 4:39 PM, Henry Rich wrote: > > >>> > > >>> 1 yes; 2 no; 3 not exactly specified; guess incorrect > > >>>> > > >>>> Henry Rich > > >>>> > > >>>> On

Re: [Jprogramming] A puzzle

2013-06-10 Thread Thomas Costigliola
;>> >> > >>> >> > >>> If, on the other hand, we're taking about a ]@(v) which differs from >> > >>> plain (v), that is very interesting; and if the DoJ does in fact >> > legitimize >> > >>> it (or at least f

Re: [Jprogramming] A puzzle

2013-06-08 Thread Jose Mario Quintana
PM, Dan Bron wrote: > >>>> > >>>>> Three questions: > >>>>> > >>>>> #1 Is v necessarily a verb? > >>>>> #2 Does the effect depend upon v being anonymous, or will it > work > >>>>> if v

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
On 6/7/2013 4:36 PM, Dan Bron wrote: >>>> >>>>> Three questions: >>>>> >>>>> #1 Is v necessarily a verb? >>>>> #2 Does the effect depend upon v being anonymous, or will it work >>>>> if v is assigned to a name and/or wrapped in

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
rogramming-bounces@forums.**jsoftware.com [mailto:programming-bounces@**forums.jsoftware.com] On Behalf Of Henry Rich Sent: Friday, June 07, 2013 3:14 PM To: Programming forum Subject: [Jprogramming] A puzzle For what sort of v does ]@v give different results than v ? No side effects.

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
gt;>> -Dan >>>> >>>> PS: My initial guess is this is almost certainly a bug introduced by >>>> some >>>> special-code optimization. >>>> >>>> >>>> -Original Message- >>>&g

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
-- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Henry Rich Sent: Friday, June 07, 2013 3:14 PM To: Programming forum Subject: [Jprogramming] A puzzle For what sort of v does ]@v give different results than v ? No side effe

Re: [Jprogramming] A puzzle

2013-06-07 Thread Dan Bron
>> -Dan >> >> PS: My initial guess is this is almost certainly a bug introduced by some >> special-code optimization. >> >> >> -Original Message- >> From: programming-boun...@forums.jsoftware.com >> [mailto:programming-boun...@f

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
ree questions: >>>> >>>> #1 Is v necessarily a verb? >>>> #2 Does the effect depend upon v being anonymous, or will it >>>> work >>>> if v is assigned to a name and/or wrapped in parens? >>>&g

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
rens? >>> #3 Is the effect indicated, contraindicated, or unspecified by >>> the >>> Dictionary? >>> >>> -Dan >>> >>> PS: My initial guess is this is almost certainly a bug introduced by >>> some >>> speci

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
t;> special-code optimization. >> >> >> -Original Message- >> From: >> programming-bounces@forums.**jsoftware.com >> [mailto:programming-bounces@**forums.jsoftware.com] >> On Behalf Of Henry Rich >> Sent: Friday, June 07, 2013 3:14 PM >> T

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
...@forums.jsoftware.com] On Behalf Of Henry Rich Sent: Friday, June 07, 2013 3:14 PM To: Programming forum Subject: [Jprogramming] A puzzle For what sort of v does ]@v give different results than v ? No side effects. 1 2 v 1 2 2 4 1 2 ]@v 1 2 2 3 3 4 Henry Rich

Re: [Jprogramming] A puzzle

2013-06-07 Thread Dan Bron
forum Subject: [Jprogramming] A puzzle For what sort of v does ]@v give different results than v ? No side effects. 1 2 v 1 2 2 4 1 2 ]@v 1 2 2 3 3 4 Henry Rich -- For information about J forums see http

[Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
For what sort of v does ]@v give different results than v ? No side effects. 1 2 v 1 2 2 4 1 2 ]@v 1 2 2 3 3 4 Henry Rich -- For information about J forums see http://www.jsoftware.com/forums.htm