Lambda function Turing completeness

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Aug 1 01:55:55 EDT 2013


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)



-- 
Steven



More information about the Python-list mailing list