Talk:Anonymous recursion: Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
m Signing comment by 15.203.233.79 - "Add "Simpler solution" section"
No edit summary
Line 69:
 
== Simpler solution ==
I came up with a simpler lambda calculus solution for recursionfactorial. All I did was take the anonymous recursion version, and replace "lambda a, b" with "lambda a: lambda b:", and "(a, b)" with "(a)(b)".
 
<source lang=python>