Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81271
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!weretis.net!feeder1.news.weretis.net!news.roellig-ltd.de!open-news-network.org!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; '22,': 0.09; 'sure,': 0.09; 'thats': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lookups': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'errors.': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In- Reply-To:1': 0.27; 'evaluation': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'but': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'so,': 0.37; 'nov': 0.38; 'pm,': 0.38; 'track': 0.38; 'does': 0.39; 'sure': 0.39; 'show': 0.63; 'name': 0.63; 'lazy': 0.91; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=jiKRET4RqW1Odb1shXt3pXtsfCGHBopT3ajBc0KI+DA=; b=qRcsSkIpJgZVyF8RkacCzjQmhd9IQpGml8Ycycr1RikpXJb47N4gnRxIKWs8rD3EAj YM1kkpmRIUZmUcJrzHZ4aRvzlQgVyYIoP7QHWPJQzCQMnNZ4ShaRKLZs5VU3zVznySB8 59U1JvF0l6Vqko9Nz/ChND0lHvG0G31iaMDLOEvhNbw7NvasFTf7/jiHhPZXBUHMiF4Z OYB+QSCIW5GYTDT73brvHftSAQuJ9aRHWipx3yhfbv5icHurEzjZJ3hgy5cVm+WeN4Qm LfRAfxgxeffwVPjhp0+/uWJ5psV83VWPh7kZsu3Pt7NcDuV54QkC4mQn3aQrq9ebCA7S u4Lg== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.178.212 with SMTP id da20mr1725101igc.34.1416632997463; Fri, 21 Nov 2014 21:09:57 -0800 (PST) |
| In-Reply-To | <4cecd824-19c6-4be3-b91b-06602313d0ae@googlegroups.com> |
| References | <931d12c0-12b3-4278-a9b9-1e2c32f138b3@googlegroups.com> <87bno16nsw.fsf@elektro.pacujo.net> <mailman.16114.1416591558.18130.python-list@python.org> <54701468$0$12986$c3e8da3$5496439d@news.astraweb.com> <mailman.16134.1416631815.18130.python-list@python.org> <4cecd824-19c6-4be3-b91b-06602313d0ae@googlegroups.com> |
| Date | Sat, 22 Nov 2014 16:09:57 +1100 |
| Subject | Re: Infinitely nested containers |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16135.1416633006.18130.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416633006 news.xs4all.nl 2935 [2001:888:2000:d::a6]:38222 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Body-CRC | 3996441561 |
| X-Received-Bytes | 3818 |
| Xref | csiph.com comp.lang.python:81271 |
Show key headers only | View raw
On Sat, Nov 22, 2014 at 4:02 PM, Rustom Mody <rustompmody@gmail.com> wrote: > Thats not a single expression; which is possible with a lazy > evaluation language like Haskell. > Prelude> let ones = 1 : ones I'm not sure "lazy evaluation" is the key here, unless it also does name lookups lazily. What happens if you do this: let foo = 1 : bar let bar = 2 : 3 foo Will that show 1, 2, 3? If so, then sure, lazy eval is what achieved that - but it's also going to make it hard to track down name errors. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Infinitely nested containers Gill Shen <gillarete@gmail.com> - 2014-11-20 21:54 -0800
Re: Infinitely nested containers Marko Rauhamaa <marko@pacujo.net> - 2014-11-21 09:00 +0200
Re: Infinitely nested containers random832@fastmail.us - 2014-11-21 12:39 -0500
Re: Infinitely nested containers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-22 15:43 +1100
Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 15:50 +1100
Re: Infinitely nested containers Rustom Mody <rustompmody@gmail.com> - 2014-11-21 21:02 -0800
Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 16:09 +1100
Re: Infinitely nested containers Rustom Mody <rustompmody@gmail.com> - 2014-11-21 22:03 -0800
Re: Infinitely nested containers Ethan Furman <ethan@stoneleaf.us> - 2014-11-22 11:50 -0800
Re: Infinitely nested containers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-23 16:59 +1100
Re: Infinitely nested containers random832@fastmail.us - 2014-11-23 01:39 -0500
Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 04:47 +1100
Re: Infinitely nested containers random832@fastmail.us - 2014-11-21 12:50 -0500
Re: Infinitely nested containers Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-21 11:37 -0700
Re: Infinitely nested containers Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-11-21 13:30 -0600
Re: Infinitely nested containers Terry Reedy <tjreedy@udel.edu> - 2014-11-22 16:57 -0500
Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-21 18:03 +1100
Re: Infinitely nested containers Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-21 10:13 -0700
csiph-web