Use foreach and Seq.empty