On Sunday, February 8, 2015 at 8:37:35 AM UTC-8, Gabriel Mitchell wrote:
>
> For a gnerally binary operator I would personally do something like
>
> x = 1:5
> f = +
> map(f,x[1:end-1],x[2:end])
>

(Note that , in addition to the potential type-inference difficulties 
mentioned by Kevin, this also currently makes a copy of x[1:end-1] and 
x[2:end].)

Reply via email to