Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: checking if a list is empty Date: Sat, 14 May 2011 14:32:06 +1200 Lines: 15 Message-ID: <9367t9Fq0fU1@mid.individual.net> References: <9hYwp.5805$xo2.3333@newsfe07.iad> <4dc502c7$0$29991$c3e8da3$5496439d@news.astraweb.com> <8354770a-d69d-4132-b0ba-2d610eab2fe7@d26g2000prn.googlegroups.com> <4dcb7a8d$0$29973$c3e8da3$5496439d@news.astraweb.com> <25a7c6d9-5d60-4528-8eaf-e6d0e73dfd1d@17g2000prr.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net cPFIm2SqIMky+UZeWk0D2gFwDBN1FuAr0vf167mDavcliwm5E8 Cancel-Lock: sha1:pCcMg8NvScVk4b4HNJt/yOdda9U= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5332 harrismh777 wrote: > ... and I'm also lumping two other languages into this 'category'... > namely, Scheme, and Erlang. Scheme isn't really a functional language, though. You can use a subset of it in a functional way, but it doesn't have the sort of built-in support for pattern matching and case analysis that true functional languages tend to have. As families of languages go, Scheme has more in common with Python than Haskell. -- Greg