Slide 13
Slide 13 text
Tuple.Map in Scala3
u Type-level map function for Tuples
u Transform (T1,...,Tn) into (F[T1],...,F[Tn])
4DBMBͰ5VQMF.BQͱ͍͏ܕϨϕϧؔΛ͑Δ
/* Tuple.Map[(String, Int), Option]
* = (Option[String], Option[Int])
*/
val mapped: Tuple.Map[(String, Int), Option]
= (Some("Name"), None)