bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Scan operator has strange behaviour


From: Elias Mårtenson
Subject: Re: [Bug-apl] Scan operator has strange behaviour
Date: Fri, 21 Mar 2014 21:39:11 +0800

On 21 March 2014 19:55, Jay Foad <address@hidden> wrote:
 
      >\3 1 2
3 1 1

I think your explanation of scan would lead to the result 3 1 0.

Associativity matters because the last item of the result is 3>1>2,
which means 3>(1>2). But your explanation would lead to (3>1)>2 as the
last item.

You are right, but that can be addressed by defining my solution to simply evaluate the pairs from the right.

Regards,
Elias 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]