mojo packages announcement (A Mojo package is defined by placing an __init__.mojo or __init__.🔥 within a directory) #486
-
Hi, it looks like mojo packages (basic support for importing) was announced on 2023-07-20. Very excellent add!
Here is a silly struct which works OK defined in a notebook: However, when importing the same struct from a mojo package, it raises some errors: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
At the moment you need to explicitly import things in the from SIMD import Float32 This issue was raised and closed as completed just today: #469 That usually means that it'll be in the next release, should be in the next few days. |
Beta Was this translation helpful? Give feedback.
At the moment you need to explicitly import things in the
.mojo
file that are usually imported by default:This issue was raised and closed as completed just today: #469
That usually means that it'll be in the next release, should be in the next few days.