Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.123 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.01; 'subject:Python': 0.05; 'int.': 0.16; 'wrote:': 0.17; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'fri,': 0.30; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'list': 0.35; 'nov': 0.35; 'replaced': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'to:name:python': 0.84; 'angel': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=s9KwqGUumzm0XC1DjYHuI8sBjOY9yTn0R+QgDj7CMUU=; b=Do2yl/ZITNZ3wJNq0Yu3sdEX2uj2Kn86YuaPQBRvR7cMLWg0umbKWTBfdItNZCw2AD buXiXpSGjBDemlqBpevY3QRKEzOYm3LHNd981108kAFVWEvzCiFD9DjY0roRPV7bLI3d kbeSpHuAWxWgtCUu+7aNWa4Q7E2jOTWvDkLvs7t6Wkv8/BnF3jwzH+znMZT23JU7VZMh 5leSeruQ9yfmPZNx8dbcXTugv4l3Q/6S0sZQ2Usqf8uSkh66+iCqBLtMjPmgdZmFvQJI 0EhSWiBUtGl2dUNkmr8Qnl75Lkg0NCPnPmHDNJBTxuUpYENRXTEuAcT4oemJT+fCAnG9 Uwsw== MIME-Version: 1.0 In-Reply-To: <50944839.1070109@davea.name> References: <50944839.1070109@davea.name> From: Ian Kelly Date: Fri, 2 Nov 2012 16:27:59 -0600 Subject: Re: Haskell -> Python To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 4 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351895312 news.xs4all.nl 6909 [2001:888:2000:d::a6]:46833 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32670 On Fri, Nov 2, 2012 at 4:24 PM, Dave Angel wrote: > Perhaps range(heap) should be replaced by range(len(heap)) "heaps" is a list of ints per the OP, so "heap" is an int.