Re: [Python-ideas] Reduce/fold and scan with generator expressions and comprehensions

2016-11-13 Thread Danilo J. S. Bellini
2016-11-06 23:27 GMT-02:00 Wes Turner : > - So, IIUC, for recursive list comprehensions > - "prev" = x_(n-1) > - there is a need to define an initial value > - chain([1000], [...]) > - sometimes, we actually need window function > - __[0] = x_(n-1) > -

Re: [Python-ideas] Reverse assignment operators (=+, =-, =*, =/, =//, =**, =%)

2016-11-13 Thread Mikhail V
On 12 November 2016 at 21:08, João Matos wrote: > What I would like to propose is the creation of the reverse: > a =+ c is the same as a = c + a > a =- c is the same as a = c - a > a =* c is the same as a = c * a > a =/ c is the same as a = c / a > a =// c is the same as a =