On 1/15/2011 6:41 AM, Nate Knight wrote:
> On Jan 14, 2011, at 12:29 PM, Nate Knight wrote:
>
>> I've pasted some code below where I am trying to transform expressions of
>> the form
>>
>> (a op b op c)[i]
>>
>> to
>>
>> (a[i] op b[i] op c[i])
>>
>> I managed to get this to work for the simple
On Jan 14, 2011, at 12:29 PM, Nate Knight wrote:
> I've pasted some code below where I am trying to transform expressions of the
> form
>
> (a op b op c)[i]
>
> to
>
> (a[i] op b[i] op c[i])
>
> I managed to get this to work for the simple case
>
> (a+b)[i]
>
> but I'm curious about how
I've pasted some code below where I am trying to transform expressions of the
form
(a op b op c)[i]
to
(a[i] op b[i] op c[i])
I managed to get this to work for the simple case
(a+b)[i]
but I'm curious about how to generalize this to include other operators
(without explicitly handling the