PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

Type Parameters

Type Parameters

Type Parameters are a language feature.

In computer programming languages, TypeParameter is a frequently used generic label used in templates to reference an unknown data type, data structure, or class.

Languages with Type Parameters include TypeScript

Example from TypeScript:

function identity<T>(arg: T): T { return arg; }

Article source

PLDB - Build the next great programming language 路 v2022 Docs Acknowledgements Email GitHub