2026年9月10日 Taiju Muto for case (let x, 0) in points { print("Found a point on the x-axis at \(x)") } forの要素に対してパターンマッチングできる。スマートやなあ。