Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82776

Re: List Comprehensions

References <CACT3xuWVZPqEZ-hQ6QS7QTnpuBG3FXvVuc=wVN5PLLM7FPrscQ@mail.gmail.com> <mailman.17109.1419228400.18130.python-list@python.org> <roy-8A482E.08070922122014@news.panix.com> <mailman.17118.1419254490.18130.python-list@python.org> <b1bccab6-7025-41fd-b0a1-d19e1fef41da@googlegroups.com>
Date 2014-12-23 02:07 +1100
Subject Re: List Comprehensions
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.17120.1419260860.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Dec 23, 2014 at 1:58 AM, Rustom Mody <rustompmody@gmail.com> wrote:
> If you consider side-effecting comprehensions as kosher,
> then a next conclusion is naturally going to be that
> multiple generator comprehensions are confusing and therefore
> not kosher -- a very unfortunate conclusion IMHO.

Why does that follow? What has that to do with side effects?

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: List Comprehensions Chris Angelico <rosuav@gmail.com> - 2014-12-22 17:06 +1100
  Re: List Comprehensions Roy Smith <roy@panix.com> - 2014-12-22 08:07 -0500
    Re: List Comprehensions Chris Angelico <rosuav@gmail.com> - 2014-12-23 00:21 +1100
      Re: List Comprehensions Rustom Mody <rustompmody@gmail.com> - 2014-12-22 06:58 -0800
        Re: List Comprehensions Chris Angelico <rosuav@gmail.com> - 2014-12-23 02:07 +1100
          Re: List Comprehensions Rustom Mody <rustompmody@gmail.com> - 2014-12-22 09:45 -0800

csiph-web