Why does list have no 'get' method?

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Thu Feb 7 09:47:07 EST 2008


Thomas Bellman a écrit :
> Bruno Desthuilliers <bruno.42.desthuilliers at wtf.websiteburo.oops.com> wrote:
> 
(snip)
>>               In Lisp (and IIRC), an empty list is false, anything else 
>> is true.
> 
> There seems to be a language name missing from the parenthesis.

Yes, sorry - I was thinking of OCaml and/or Haskell, but couldn't 
remember which so I cout this out but forgot the (and IIRC).




More information about the Python-list mailing list