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


Groups > comp.lang.python > #32679

Re: Haskell -> Python

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!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.100
X-Spam-Evidence '*H*': 0.81; '*S*': 0.01; 'subject:Python': 0.05; 'things.': 0.05; 'cc:addr:python-list': 0.10; 'heap': 0.16; 'int.': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'fri,': 0.30; 'normally': 0.30; 'list': 0.35; 'nov': 0.35; 'replaced': 0.35; 'pm,': 0.35; "didn't": 0.36; 'should': 0.36; 'subject:: ': 0.38; 'fact': 0.38; 'received:192': 0.39; 'notice': 0.39; 'received:192.168': 0.40; 'here': 0.65; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'distracted': 0.84; 'thing,': 0.84; 'angel': 0.93
Date Fri, 02 Nov 2012 22:03:17 -0400
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version 1.0
To Ian Kelly <ian.g.kelly@gmail.com>
Subject Re: Haskell -> Python
References <b19e3922-d86f-426f-afb8-1f75b793f87b@googlegroups.com> <CALwzidmH0OE5qvKByraHtFTKj7qUSQwEqs=QNhngek54i=dxGw@mail.gmail.com> <50944839.1070109@davea.name> <CALwzidkrQUAwYtHOC+rkLH5dZ2byS1ZRYD+gxZWa3MTKDVnAWg@mail.gmail.com>
In-Reply-To <CALwzidkrQUAwYtHOC+rkLH5dZ2byS1ZRYD+gxZWa3MTKDVnAWg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:L2gKw92hMtI4TLsnsM6zfL1OwllQI2oBhNo1bD0fxbB 8Nn/eKMTg8YgjOERVuCwT8GP/sL89Y5AgIOtF2QMZjiIjygifV J49XQxU7+rSEmpMJU+AlBHYuObsCv4Vc4QAtYi8sGp0pWPLtgj v48qrWFmoaVtj3uCfKBargcC5owV03I9AC9E8IxXtF+JWVnWWA ULB4VHSvEupBkT0UXlCNrDCd6sK8ZHyUK+gIqI2qoEi9x9E1Vh /2pfz9nyu+XdxbgpqRmHmTP4d3xEUF3GyibFmKx+xHVxSySGJf 36WXLYrq4OUYm5oCKAXMQqfatcqvonc+fx8d0YbS1ffP6KFrA= =
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3229.1351908225.27098.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351908225 news.xs4all.nl 6926 [2001:888:2000:d::a6]:33554
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32679

Show key headers only | View raw


On 11/02/2012 06:27 PM, Ian Kelly wrote:
> On Fri, Nov 2, 2012 at 4:24 PM, Dave Angel <d@davea.name> 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.

You're right of course <blush>.  I was distracted by the fact that a
heap is normally a collection of thing, and didn't notice that here it
is a count of those things.

-- 

DaveA

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


Thread

Haskell -> Python foster63@gmail.com - 2012-11-02 12:19 -0700
  Re: Haskell -> Python Dave Angel <d@davea.name> - 2012-11-02 15:56 -0400
    Re: Haskell -> Python Simon Foster <simon.foster@inbox.com> - 2012-11-02 20:09 +0000
  Re: Haskell -> Python Ian Kelly <ian.g.kelly@gmail.com> - 2012-11-02 15:40 -0600
    Re: Haskell -> Python Duncan Booth <duncan.booth@invalid.invalid> - 2012-11-03 16:29 +0000
  Re: Haskell -> Python Ian Kelly <ian.g.kelly@gmail.com> - 2012-11-02 15:46 -0600
  Re: Haskell -> Python Dave Angel <d@davea.name> - 2012-11-02 18:24 -0400
  Re: Haskell -> Python Ian Kelly <ian.g.kelly@gmail.com> - 2012-11-02 16:27 -0600
  Re: Haskell -> Python Dave Angel <d@davea.name> - 2012-11-02 22:03 -0400
  Re: Haskell -> Python aahz@pythoncraft.com (Aahz) - 2012-11-03 22:16 -0700

csiph-web