用对
flatMap
、
map
、
withFilter
和
foreach
的等效调用替换 for 推导式。