Enumerator

val twentySomethings = for (user <- userBase if (user.age >=20 && user.age < 30))
  yield user.name  // i.e. add this to a list

Is either a generator which introduces new variables, or it is a filter.

Enumerator — Structure map

Clickable & Draggable!

Enumerator — Related pages: