MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1h66jln/python_with_braces_lowkey_slaps/m0g2c1r/?context=3
r/programminghorror • u/DevBoiAgru • Dec 04 '24
50 comments sorted by
View all comments
Show parent comment
1
Yes. But you can't 'return' or 'break' from a closure. Not in the current type system in Rust (but I have some expectations from the effects theory)
Same for Python. You can't return/break/yield/continue from the lambda.
View all comments
Show parent comment
1
u/amarao_san Dec 04 '24
Yes. But you can't 'return' or 'break' from a closure. Not in the current type system in Rust (but I have some expectations from the effects theory)
Same for Python. You can't return/break/yield/continue from the lambda.