List of references in Mojo
I'm a bit out of the loop with the latest Mojo developments, so I could use some guidance.
In Python, creating a list of references is simple:
How would we achieve similar functionality in Mojo nowadays?
Is UnsafePointer still the way to go, something like:
Or is there now a more elegant/safer way to achieve this using References?
Thx
In Python, creating a list of references is simple:
How would we achieve similar functionality in Mojo nowadays?
Is UnsafePointer still the way to go, something like:
Or is there now a more elegant/safer way to achieve this using References?
Thx
