Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; '#include': 0.05; 'operator': 0.05; 'kinda': 0.09; 'nicely': 0.09; 'pm,': 0.11; 'wrote:': 0.14; ':-p': 0.16; 'lisp': 0.16; 'rebert': 0.16; 'so!': 0.16; 'subject:() ': 0.16; 'subject:function': 0.16; "there'll": 0.16; 'language': 0.20; 'header:In-Reply-To:1': 0.22; 'mon,': 0.22; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'subject:code': 0.23; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'it.': 0.31; 'to:addr:python- list': 0.32; 'idea': 0.32; 'expression': 0.33; 'someone': 0.33; 'too': 0.36; 'think': 0.36; 'two': 0.37; 'machine': 0.37; 'received:209.85': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'no.': 0.38; 'larger': 0.39; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'received:209': 0.39; 'add': 0.39; 'header:Received:5': 0.40; 'box,': 0.60; '2011': 0.62; 'anything.': 0.72; 'serious': 0.78; 'belt': 0.84; 'consisted': 0.84; 'dropped.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=2z7gGJFtkS4pZTeEmKmGWfaYNVg8nUFGcAKvY/Dx94U=; b=OOsAtuL88EpxqnIWXZIZvtKWG1KfVGuRx5cDLpGDHc7f5AaxXh1skfZCRFh0GPLSQq fYvZadLwOy8JwwCm1OInI9RL/3h/fyCzKGJScg4TpmLAVzSSob2+k3VxMBa1KRO2Qe08 zNYUN0euaeJRS/YDEGOMY6PL5FiSzZ2Veix9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EtPQYWXkyRKIfoJ0RQrVxqrFoth6CgKX4BXuYKf1rkl7fhKblkIuv5JItWUjtU/UOm JzPqRTJICwIuJ9FH50MjYmJOIU8ypkopXZUHu2eGupZ77RoWieNk/vt4OIeGsCtah7BK XjfkdaMexbYiNmtwuJpkUBWu2pEpDYo3BX1K8= MIME-Version: 1.0 In-Reply-To: References: <4da9fb0b$0$13696$426a74cc@news.free.fr> <87k4etho6e.fsf@benfinney.id.au> <4DAB97FD.20103@ieee.org> Date: Mon, 18 Apr 2011 16:03:10 +1000 Subject: Re: Equivalent code to the bool() built-in function From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303106594 news.xs4all.nl 81475 [::ffff:82.94.164.166]:34117 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3459 On Mon, Apr 18, 2011 at 3:49 PM, Chris Rebert wrote: >> Pro: You can do anything. >> Con: You can do anything. > > I think someone already beat you to it. They call their invention "Lisp". :-P Bah! Lisp comes, out of the box, with far too many features! No no no. If you want the + operator to add two numbers, you have to say so! (Obviously there'll be extensive use of #include or equivalent.) It started out as a serious idea - a really clean language that would, like Lua or Python, be nicely embeddable in larger programs - and specifically, I wanted an expression evaluator that could have d-notation added to it. But the realisation that such a language consisted of a foot, a machine gun, and a belt of ammunition kinda led to it being dropped. ChrisA