for 内包表記を同等の
flatMap
、
map
、
withFilter
、および
foreach
の呼び出しに置換します。