Skip to content

Comment on Patterns with Rust Typesparent

Comments

Most languages don't even have the anatomy of features that lead to this problem in the first place.

The real solution is to open a PR on your math library and add the derives yourself, or fork it. Which is coincidentally what you would have to do in almost any other language, since you can't usually derive an interface for a class when you don't own the interface and the class.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.