A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006723.html below:

[Python-Dev] [PEP204] Range Literals

[Python-Dev] [PEP204] Range Literals [Python-Dev] [PEP204] Range LiteralsPeter Schneider-Kamp peter@schneider-kamp.de
Sun, 16 Jul 2000 21:11:25 +0000
Moshe Zadka wrote:
> 
> I think we decided we don't need those. The only reason people need
> generators is for extra efficiency in

>From following the recent discussion here (and from my Haskell brain
part)
I thought that generators are also useful for stuff like:

even = (0:sys.maxint:2)
first20even = even[:20]

Having spend the weekend falling into cold mountain lakes, I may of
course be mistaken about this.

Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter@schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4