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


Groups > comp.lang.python > #32679

Re: Haskell -> Python

Date 2012-11-02 22:03 -0400
From Dave Angel <d@davea.name>
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>
Newsgroups comp.lang.python
Message-ID <mailman.3229.1351908225.27098.python-list@python.org> (permalink)

Show all headers | 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