π΄Generics
How to declare generic parameters
class MyOwnInsanelyFastList<T> {...}func important_function<T>() {...}[name]<[...[<generic name>: [where clause] [ = <default type>]]]>Where clause
class MyVector<T: Sized> {...}let a: MyVector<void> // error: void doesn't implement "Sized"
let b: MyVector<i32> // okLast updated