https://kotlinlang.org logo
r

Ruckus

02/07/2017, 8:57 PM
@orangy The format I propsed (running the else only if the loop is never entered) is useful for sequences and other lazy loaded iterator that would be difficult to check ahead of time if they run.