stu002
MModular
•Created by stu002 on 10/24/2024 in #questions
Canonical way to add NuMojo to a Mojo project?
Looking at the NuMojo documentation there are directions for building a Mojo packages and making it visible to a Mojo project. Is there a "canonical" way of adding multiple packages like NuMojo to an existing Mojo project? I'm thinking of having a
project/vendor
or project/lib
directory to host these external packages.5 replies
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