Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-18 Thread Raul Miller
forum programm...@jsoftware.com Sent: Sunday, November 17, 2013 7:22:43 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitionspossible? Pascal Jasmin writes: But I'd like to see the first before I ask for another, and the approach of finding them all

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-18 Thread Jose Mario Quintana
To: Programming forum programm...@jsoftware.com Sent: Sunday, November 17, 2013 7:22:43 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitionspossible? Pascal Jasmin writes: But I'd like to see the first before I ask for another, and the approach of finding

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Aai
was hoping that there is a version with {. and $:@:}. - Original Message - From: Raul Miller rauldmil...@gmail.com To: Programming forum programm...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 8:56:03 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitions

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Don Guinn
$: is recursive where the explicit version it iterative. -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Jose Mario Quintana
, November 16, 2013 8:56:03 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible? ({~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 8 ({.~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 4 2 6 4 Now you might argue that this is not the same thing. But it is the same result

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Pascal Jasmin
: [Jprogramming] repeatuntil and repeat while tacit definitions possible? Pascal Jasmin writes:   But I'd like to see the first before I ask for another, and the approach of   finding them all and then returning the first is not practical. Arie Groeneveld writes:       {.@(}.^:(6

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Jose Mario Quintana
...@jsoftware.com Sent: Sunday, November 17, 2013 7:22:43 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitionspossible? Pascal Jasmin writes: But I'd like to see the first before I ask for another, and the approach of finding them all and then returning the first

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-17 Thread Pascal Jasmin
2 8 10 4 8 From: Jose Mario Quintana jose.mario.quint...@gmail.com To: Programming forum programm...@jsoftware.com Sent: Sunday, November 17, 2013 11:32:06 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible? We can check

[Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Pascal Jasmin
2 conjunctions with monad only versions shown for simplicity repeatuntil =: 2 : 'for_i. y do. if. v_ s =. u i do. s break. end. end.' repeatwhile =: 2 : 0 out =. i.0 for_i. y do. if. v_ s =. u i do. out break. else. out =. out , s  end. end. )    +: repeatuntil (6 ]) 2 1 3 2 4 5 2 8    +:

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread R.E. Boss
Of Pascal Jasmin Sent: zaterdag 16 november 2013 21:32 To: programm...@jsoftware.com Subject: [Jprogramming] repeatuntil and repeat while tacit definitions possible? 2 conjunctions with monad only versions shown for simplicity repeatuntil =: 2 : 'for_i. y do. if. v_ s =. u i do. s break. end

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Pascal Jasmin
: [Jprogramming] repeatuntil and repeat while tacit definitions possible? Are you aware of http://www.jsoftware.com/help/dictionary/d202v.htm ? R.E. Boss (Add your info to http://www.jsoftware.com/jwiki/Community/Demographics ) -Original Message- From: programming-boun

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread km
$: well enough. - Original Message - From: R.E. Boss r.e.b...@planet.nl To: programm...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 4:54:30 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacitdefinitions possible? Are you aware of http

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Pascal Jasmin
programm...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 6:06:06 PM Subject: Re: [Jprogramming] repeatuntil and repeat whiletacit definitions possible? The third shaded paragraph tells how to do a while loop with ^: --Kip Murray Sent from my iPad On Nov 16, 2013, at 4:34 PM

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Raul Miller
not understand $: well enough. - Original Message - From: R.E. Boss r.e.b...@planet.nl To: programm...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 4:54:30 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitionspossible? Are you aware of http

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Pascal Jasmin
...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 8:56:03 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?   ({~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 8   ({.~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 4 2 6 4 Now you might argue that this is not the same thing

Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible?

2013-11-16 Thread Raul Miller
...@jsoftware.com Cc: Sent: Saturday, November 16, 2013 8:56:03 PM Subject: Re: [Jprogramming] repeatuntil and repeat while tacit definitions possible? ({~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 8 ({.~ 1 i.~ 6 ]) +: 2 1 3 2 4 5 2 4 2 6 4 Now you might argue that this is not the same thing