|
Hi Jay, I see. Maybe I misunderstood Louis,s email from last Saturday completely? The way I read this email was that in Dyalog APL version 15 you can have a monadic condition function G in F⍣G . Quote from the email: The Dyalog 15.0 manual
states that the power operator can take a
function right
argument. In this case, that function can be
either monadic or
dyadic, and can be a lambda.
If it’s monadic:
(F⍣G) ⍵ ←→ ⍵ ← F
⍵ until G ⍵
⍺ (F⍣G) ⍵ ←→ ⍵ ← ⍺ F
⍵ until G ⍵
If it’s dyadic:
(F⍣G) ⍵ ←→ ⍵ ← F
⍵ until ( F ⍵) G ⍵
⍺ (F⍣G) ⍵ ←→ ⍵ ← ⍺ F
⍵ until (⍺ F ⍵) G ⍵
(Note that G is
checked before the first time F is executed.)
I don't know if that statement is correct or not, but if it is then I would prefer to not introduce this "monadic case" in GNU APL for the reasons explained earlier. Thanks, Jürgen On 08/15/2016 10:16 AM, Jay Foad wrote:
|
- Re: [Bug-apl] A couple of bugs, and a question on t... Elias Mårtenson
- Re: [Bug-apl] A couple of bugs, and a question ... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a quest... Elias Mårtenson
- Re: [Bug-apl] A couple of bugs, and a quest... Louis de Forcrand
- Re: [Bug-apl] A couple of bugs, and a question on t... Kacper Gutowski
- Re: [Bug-apl] A couple of bugs, and a question ... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a quest... Kacper Gutowski
- Re: [Bug-apl] A couple of bugs, and a q... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a question on t... Jay Foad
- Re: [Bug-apl] A couple of bugs, and a question ... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a quest... Jay Foad
- Re: [Bug-apl] A couple of bugs, and a q... Louis de Forcrand
- Re: [Bug-apl] A couple of bugs, an... Christian Robert
- Re: [Bug-apl] A couple of bugs... Louis de Forcrand
- Re: [Bug-apl] A couple of bugs, and a q... Jay Foad
- Re: [Bug-apl] A couple of bugs, and a question on the po... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a question on t... Louis de Forcrand
- Re: [Bug-apl] A couple of bugs, and a question ... Juergen Sauermann
- Re: [Bug-apl] A couple of bugs, and a question on the po... Louis de Forcrand
