4 ms·
Fwiw the Haxe language calls this an "abstract type", and they're very useful. https://haxe.org/manual/types-abstract.html https://haxe.org/manual/types-abstra
by jdonaldson 8y ago
Fwiw the Haxe language calls this an "abstract type", and they're very useful.
https://haxe.org/manual/types-abstract.html https://haxe.org/manual/types-abstract.html
- deleted 8y ago[deleted]
- rurban 8y agoGeneric types are useful, but still should be called as such, or for the new fad: dependent types. Abstract types would not allow instantiation.
- jdonaldson 8y agoHaxe abstract types are distinct from abstract classes, but I need to learn more about dependent types.