3 ms·
i think constraints will help which are part of generics at least you'll be able to limit the types your functions accept. but otherwise no, generics do not sol
by jatone 5y ago
i think constraints will help which are part of generics at least you'll be able to limit the types your functions accept. but otherwise no, generics do not solve sum types by themselves.