26 Feb
2013
26 Feb
'13
2:56 a.m.
On Feb 24, 2013, at 1:08, Steven D'Aprano
On 24/02/13 19:04, Bruce Leban wrote:
And hypothetically [...] a, b, c = (next * 3)(iterargs)
That looks like, well, I'm not sure what it looks like. Haskell maybe? But not Python.
Not Haskell either. If you told me this was an expression in a language that's like Haskell but with python (or C) syntax, I'd expect it to mean something like compose_n(next, 3)(iterargs), aka next(next(next(iterargs))), not map(next, iterargs * 3). Maybe next(3, iterargs) or next(3)(iterargs), but that's just islice.