filter 및 headOption의 사용을 보고하고 find로 바꿉니다.
filter
headOption
find
예:
var x: Seq[Int] x.filter(p).headOption
빠른 수정 적용 후:
var x: Seq[Int] x.find(p)