Slide 10
Slide 10 text
SwiftͷܕγεςϜͷಛΛΔ
ܕΫϥεɾݶఆܕ(Qualified Type)
▸ = ܕύϥϝʔλͷ੍ͱͯ͠ͷprotocol
▸ T: Equatable
▸ Conditional Conformance
▸ ݶఆܕʮܕΫϥεΛܕγεςϜͰѻ͏ʯͨΊͷ
ཧ
▸ ܕ্ͷड़ޠʹΑ੍ͬͯΛ͔͚Δ
▸ Jones, Mark P. Qualified Types: Theory and
Practice. Cambridge University Press, 1994.