Mar-11-2020, 04:54 AM
I don't know why you'd expect anything else. You're setting the default value of the parameter
What are you actually trying to achieve?
arg
to a lambda (why?), but when you call the function, you're passing the value 1, so the default isn't used.What are you actually trying to achieve?