cocoafrog,
@cocoafrog@hachyderm.io avatar

@ctietze @nicklockwood also loops can have where clauses, eg

for batch in batches where !batch.isEmpty { }

And let for optional unwrap works in loops as well:

var next: Node?
while let current = next {
// do stuff
next = current.parent
}

And you can combine the two.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • cubers
  • osvaldo12
  • mdbf
  • magazineikmin
  • normalnudes
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • JUstTest
  • everett
  • cisconetworking
  • tacticalgear
  • anitta
  • thenastyranch
  • Durango
  • tester
  • GTA5RPClips
  • modclub
  • megavids
  • provamag3
  • Leos
  • lostlight
  • All magazines