Since the trait system is implemented in terms of the type system and multiple dispatch, I don’t see how it can be more general. It’s very convenient, though.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Multiple dispatch and type hierarchies | 2 | 288 | September 21, 2025 | |
| RFC: Language Support for Traits — Yay or Nay? | 45 | 5256 | February 8, 2023 | |
| Why does Julia not support multiple traits? | 44 | 7932 | August 14, 2017 | |
| Providing traits, apis, generics, qualities, prototypes, | 11 | 2078 | November 29, 2016 | |
| Traits and `where` syntax | 8 | 1999 | December 18, 2016 |