3 ms·
The technique using pattern matching with sealed classes might be a good workaround for the lack of union types.
by Alifatisk 2y ago
The technique using pattern matching with sealed classes might be a good workaround for the lack of union types.