Parametric Polymorphism
Vengarioth opened this issue · comments
Syntax proposal : Parametric Polymorphism
Summary
Also known as generics
or templates
.
Examples
A struct type which takes in a type parameter:
struct MyStruct<T> {
foo: T,
}
"cross shade" meta shading language and compiler
Vengarioth opened this issue · comments
Also known as generics
or templates
.
A struct type which takes in a type parameter:
struct MyStruct<T> {
foo: T,
}