Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.126 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.81; '*S*': 0.06; 'parameter': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ha!': 0.16; 'subject:Programming': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(but': 0.19; 'basically': 0.19; 'fine': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'received:google.com': 0.35; 'being': 0.38; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'consists': 0.60; 'fact,': 0.69; 'goto': 0.84; 'absolutely': 0.87; 'rusi': 0.91; '2013': 0.98 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:to :content-type; bh=rH/pqFhCb7dAWYWP7s1+YVYfGCBmAsYBBj2mdN/7VN4=; b=0IWsPUadpsL4c5kd6Vyu3Mz7yeYhImTVpCY3AE8SLb1UKrnU8MgP971W7ht/ZMfCGL pn1c/BQR9mVvXbxCI02T5frgIHihzTAeyjLxvxbFJEsoq/NXCkkQZIy61VDZivV2DSiH ROXJm6wzdBMJ+FijNuEKm8iBurpZmSIcGicFgZC75+PsTe51VJZcLCRPLkeU+LLclbZM P1oY2QZU78UCeUBHF+odPmnkrcZT3Q4tjLfpFuUmx35S0MKUR4n8qKCkyES/ujeHBXdF gdj1Keme3S5SdHi3OHR0bt9CnnR3YHRRKs9TnDuf/kQaLHcvXxak8N96n4KtKaGcwfMy wF0A== MIME-Version: 1.0 X-Received: by 10.59.9.138 with SMTP id ds10mr26729767ved.5.1380612484919; Tue, 01 Oct 2013 00:28:04 -0700 (PDT) In-Reply-To: <08fef68f-dc0d-43a4-9e28-635272fb59cf@googlegroups.com> References: <20130930160218.326d518b@bigbox.christie.dr> <08fef68f-dc0d-43a4-9e28-635272fb59cf@googlegroups.com> Date: Tue, 1 Oct 2013 17:28:04 +1000 Subject: Re: Functional Programming and python 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.15 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380612493 news.xs4all.nl 15959 [2001:888:2000:d::a6]:48584 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55167 On Tue, Oct 1, 2013 at 11:36 AM, rusi wrote: >> (But I do sometimes yearn for a goto.) > > Ha! In Scheme, a tail call IS a goto with parameter re-assignment Precisely. In fact, tail call optimization basically consists of that exact rewrite. I'm absolutely fine with it being completely explicit. ChrisA