stu002
stu002
MModular
Created by stu002 on 12/15/2023 in #questions
can I implement a trait for a third party type?
Am I right in my understanding that I can’t implement a trait I control for a type that I don’t control? For example I couldn’t implement a trait requiring an addition operator for any built in integer types? This is a point of difference with Rust traits and Haskell type classes?
3 replies