Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'interpreter,': 0.09; 'subject:module': 0.09; 'python': 0.10; 'stack': 0.13; '1270': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'insights': 0.16; 'lisp': 0.16; 'meanwhile,': 0.16; 'thread?': 0.16; 'wrote:': 0.16; 'any,': 0.18; "shouldn't": 0.18; 'runs': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'programming': 0.22; 'am,': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'ahead.': 0.29; 'itself,': 0.29; 'style.': 0.29; 'you?': 0.30; 'code': 0.30; 'guess': 0.31; "can't": 0.32; 'functional': 0.32; 'point': 0.33; "i'll": 0.33; 'received:google.com': 0.35; 'could': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'anything': 0.38; 'end': 0.39; 'why': 0.39; 'subject:-': 0.39; 'rather': 0.39; 'care': 0.60; 'show': 0.62; 'life,': 0.63; 'jul': 0.72; 'chrisa': 0.84; 'improved.': 0.84; 'pardon': 0.84; 'to:none': 0.91; 'care,': 0.91; 'seen?': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=lyifWQUJmr7f5gZMK/AIzBIq4107L+Vs4EGkEa8InbA=; b=JZcCkZuOB4eEp4rumUYPFz4RN6bzo2WWmiOG6epkfZtPPto17tYqaik0XspPMjIShB kcY2PRBPjWl9ceQWHSlIzaj94TL75sprQ5htv9AAbKBcOlw6/I/fUIpa7uzlqPN661sB OkM7z2vRvc1q+IBpLeygNTAVSwsZGkJVvetpgKrq9dcN05GSKnM9m1eHBbLkakgiuQ8t wXYIAbMOeKDH4wPdZKGZWVYk14jAw45Kl0txi+wWIQkHDjWnkfl2/BgGI8g4ug+DDCrZ jl9Qpi/kbMimZ+Ko5Dq+19IgWiW/RG4E/gg3U0WNn2gPH74rhHX8T6aablt5M42PU574 +ygg== MIME-Version: 1.0 X-Received: by 10.50.134.196 with SMTP id pm4mr3799491igb.6.1437056824029; Thu, 16 Jul 2015 07:27:04 -0700 (PDT) In-Reply-To: <55A7BDD6.2030003@rece.vub.ac.be> References: <55a3dcd9$0$3024$426a34cc@news.free.fr> <55a76628$0$2846$c3e8da3$76491128@news.astraweb.com> <55A78A42.4090506@rece.vub.ac.be> <55A7B309.8080903@rece.vub.ac.be> <55A7BDD6.2030003@rece.vub.ac.be> Date: Fri, 17 Jul 2015 00:27:03 +1000 Subject: Re: A new module for performing tail-call elimination From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 2001:888:2000:d::a6 X-Trace: 1437056826 news.xs4all.nl 2868 [2001:888:2000:d::a6]:47477 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93931 On Fri, Jul 17, 2015 at 12:21 AM, Antoon Pardon wrote: >> My point was that I have yet to see >> anything that demands TCO and can't be algorithmically improved. > > And how is this point relevant? Why should I care about what you have > not seen? Will it give me new insights about my original question in > this thread? I guess you shouldn't care, because to you, functional programming is an end in itself, XKCD 1270 style. You could alternatively show an example, if there are any, but if you'd rather just live the functional life, who am I to stop you? Go ahead. Write LISP code that runs in the Python interpreter, and then bemoan the stack limit. Meanwhile, I'll write Python code. ChrisA