Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.188 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.68; '*S*': 0.06; 'lambda': 0.16; 'notation': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'python?': 0.22; '31,': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message- id:@mail.gmail.com': 0.30; '(which': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'possible': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'jul': 0.74; 'functions)': 0.84; 'musical': 0.84; '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:from:date:message-id:subject:to :content-type; bh=ZeuA5hhoZZgzhXgeFXN5A/GQQFdg75wZ/lzHGIeaxtY=; b=fG+roQYcXxtxBWTtEhAa/30wWu+KNfR0/yGZsZ80TJj2EQ+rjH24fD7DM+yZqAKJTU ct6u5v2nHfTcNGmPlcr0AiZDmx9YTCotxkVr2AK9J6BFcLOwz2RhkfXneWInmq3I/QJf sQmIxryPZxPOEstKVn4ifQFRThCgAnuXamFejqfNu3sGzr5clMwXI2iOgj+bfTvy/0/5 j3Mqmb7pKD9Tqib66VXiH4cfquvo5ECx8a9hQ9ssmSlYvvCYeu7/Cqv7CKTRl0WHU0km DGEKzcS9eZgJppA7uVwhyI9sTOffuHeDxy5ia5RlFaiOKTZwCeoYlGpd82GwU6CiTQmz XpfQ== X-Received: by 10.66.228.38 with SMTP id sf6mr5530911pac.21.1375376747677; Thu, 01 Aug 2013 10:05:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <51f9f86b$0$30000$c3e8da3$5496439d@news.astraweb.com> References: <51f9f86b$0$30000$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Thu, 1 Aug 2013 11:05:07 -0600 Subject: Re: Lambda function Turing completeness To: Python 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1375376758 news.xs4all.nl 15989 [2001:888:2000:d::a6]:38263 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51742 On Wed, Jul 31, 2013 at 11:55 PM, Steven D'Aprano wrote: > On Wed, 31 Jul 2013 13:53:26 +0700, Musical Notation wrote: > >> Is it possible to write a Turing-complete lambda function (which does >> not depend on named functions) in Python? > > > lambda s: eval(s) eval is a named function.