lambda-calculus

python lambda : maximum recursion depth exceeded in comparison

python lambda : maximum recursion depth exceeded in comparison Question: I wrote the following code in Python: func = lambda x : x * 2 func = lambda x : func(x) func(6) When I ran the code above, I got RecursionError: maximum recursion depth exceeded in comparison I think the reason maybe : when it …

Total answers: 1