|
|
|
|
|
by mpoteat
1073 days ago
|
|
At the risk of too much self promotion, I have a much deeper and more feature complete treatment of many of these type-level computations, represented with higher kinded types (which are thus composable) here: http://hkt.code.lol/ This is my "lodash for types" project. It supports integer division for up to 2^64, for example. It has over 200 composable utility types. |
|
lodash does come to mind in fact. The last few shops where I've worked use a very small subset of lodash utilities and ignore most of the library. Their documentation is terse so it's often easier to just write your own code that is longer but more readable to the average engineer.