2 ms·
In Haskell two libraries that define conflicting orphan instances can't be linked together. Given the culture around code sharing and crates.io, this would prob
by pcwalton 6y ago
In Haskell two libraries that define conflicting orphan instances can't be linked together. Given the culture around code sharing and crates.io, this would probably be a big problem for Rust. (As I recall I was the first to propose forbidding orphan instances, although at the time I didn't realize they were called that.)
- zenhack 6y agoCan you expand on that? What about the culture would make this problematic for Rust specficially? It does seem like Rust is just enforcing the rough consensus in the Haskell community re: best practices.