core icon indicating copy to clipboard operation
core copied to clipboard

[Proposal] Naming for iter

Open hackwaly opened this issue 1 year ago • 2 comments

as_iter -> iter iter -> for_each

[1, 2, 3, 4, 5]
  .iter()
  .for_each(fn { it => print(it) })

hackwaly avatar May 16 '24 11:05 hackwaly

iter each ?

bobzhang avatar May 17 '24 08:05 bobzhang

vote .iter() & .each(f). This allows the term 'iter' indicates @iter.Iter types without ambiguity.

shamiao avatar May 22 '24 10:05 shamiao