-
So you can write:
This may not be idiomatic mojo, but is common python code that I'm trying to machine translate. Question: what should be the return type of |
Beta Was this translation helpful? Give feedback.
Answered by
adsharma
Sep 19, 2024
Replies: 2 comments
-
Here's the rust code for comparison: https://github.com/py2many/py2many/blob/main/tests/expected/bubble_sort.rs#L36-L50 |
Beta Was this translation helpful? Give feedback.
0 replies
-
works ok. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adsharma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works ok.