Class - xkp/Doc GitHub Wiki
Classes in xs are fairly typical:
class Identifier [<Arg List>] [: super] { ... }
Arg List:
Optional. Classes can have parameters, in the form:
class Foo<Type1, Type2>
{
property t1 : Type1;
....
}
This will work as traditional templates. When implemented, that is.
super:
Optional, single inheritance.