Created by dragos on 2009-11-16. Updated: 2010-05-06, 17:56

Scala Improvement Document # 9

Revision: 2 - Date: 2010-05-06

Status: draft draft

SID: Scala Specialization Scala Specialization

Scala 2.8 adds specialized type parameters. A specialized type parameter instructs the compiler to generate a generic version and a number of specialized versions of the given definition, and use the most specific version whenever the static type information at a call site allows it.