Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stlib] String conversion of list literals and lists with representable items #3521

Open
wants to merge 11 commits into
base: nightly
Choose a base branch
from

Conversation

msaelices
Copy link
Contributor

@msaelices msaelices commented Sep 21, 2024

To improve the ergonomics of the Mojo language for Python developers:

l = [1, False, "Mojo is awesome 🔥"]
print(l)
# [1, False, 'Mojo is awesome 🔥']
l = List(1, 2, 3)
print(str(l))
# [1, 2, 3]

To improve the ergonomics of the Mojo language for Python developers.

Signed-off-by: Manuel Saelices <msaelices@gmail.com>
@msaelices msaelices requested a review from a team as a code owner September 21, 2024 22:15
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
@msaelices msaelices changed the title [stlib] String conversion of list literals. [stlib] String conversion of list literals and lists Sep 21, 2024
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
@msaelices msaelices changed the title [stlib] String conversion of list literals and lists [stlib] String conversion of list literals and lists with representable items Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant