another then-comprehension example: flatmap.
note