JasonBock / SpackleNet

Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.
MIT License
14 stars 1 forks source link

Consider Using Generic Math Interfaces #38

Closed JasonBock closed 1 year ago

JasonBock commented 1 year ago

In .NET 7, static abstract members in interfaces (and subsequently generic math) is a thing. It may be useful in Spackle. For example, the range stuff could be based on INumber<>, which may make the design more flexible.

JasonBock commented 1 year ago

I'm going to close this by adding IEqualityOperators<> and IParsable<> to Range.