Any ideas on implementing linked based structs in mojo?
I’m working on data structures in mojo and hit a roadblock at objects like linked lists and trees, how would I code a pointer to another object of the same type in mojo? and is there a way to use DTypePointers to ensure the result is string able?
1 Reply
The above code works, just have no idea how to implement _get_next
The above code seems to be the correct answer, but throws errors when run, very complicated system errors, any ideas?
I think the issue is with DType != Register passable, but how can you cast register passable types to printable values?