Y
Hacker News
new
|
ask
|
show
|
jobs
by
int_19h
2677 days ago
What's the difference between "break" and "continue" inside an or-block? Or do they apply to the outer enclosing loop if there is one?
1 comments
amedvednikov
2677 days ago
Yes, just like in Swift.
link
int_19h
2677 days ago
Then I don't get it - how do you make the or-block exit normally and yield a value, instead of exiting the outer scope one way or another?
link