- Notifications
You must be signed in to change notification settings - Fork90
Open
Labels
Milestone
Description
Hi,
I think in case of (sequential) collections this code
for (x← xs) { ... async ...}
could be rewritten into
valit= xs.iteratorwhile (it.hasNext) {valx= it.next() ... async ...}
thus relaxing the restriction regardingasync
inside closures. It only saves a few lines, but looks more idiomatic. What do you think?