Cross-directory Imports
Simply put, how do I import
Array
defined in src/array/array.mojo
from src/vector/vector.mojo
?![No description](https://cdn.answeroverflow.com/1153976178059776020/image.png)
3 Replies
@Jack Clayton do you have any answer for this?
Hi @JIMC you need to have those two as subdirs of a pkg like:
![No description](https://cdn.answeroverflow.com/1154850992966352999/image.png)
Then in
vector.mojo
you can: