3 ms·
I would retort with: Packages are too big to make into a functional dependency. In the end, in this functions-as-dependencies world, a trig package would be som
by gosub 11y ago
I would retort with: Packages are too big to make into a functional dependency.
In the end, in this functions-as-dependencies world, a trig package would be something like:
(name) =>
switch (name) {
case 'sin':
(x) => sin(x);
break;
case 'cos':
(x) => cos(x);
break;
}
- lmm 11y agoPackages are only too big if your infrastructure makes them too big. A trig package like yours could be implemented on top of sin and cos packages if it's something you find useful.