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

[manual] Add missing traits in manual #2887

Merged

Conversation

msaelices
Copy link
Contributor

  • Absable
  • Boolean{Key,Collection}Element
  • Comparable
  • ComparableCollectionElement
  • Defaultable
  • Formattable
  • Hashable
  • Indexer
  • Powable
  • Representable
  • Representable{Key,Collection}Element
  • Roundable
  • StringableCollectionElement
  • ToFormatter
  • Truncable

Absable, Roundable, Boolean{Key,Collection}Element, Comparable,
ComparableCollectionElement, Defaultable, Formattable, Hashable,
Indexer, Powable, Representable,
Representable{Key,Collection}Element, StringableCollectionElement,
ToFormatter, Truncable

Signed-off-by: Manuel Saelices <msaelices@gmail.com>
@msaelices msaelices requested a review from a team as a code owner May 30, 2024 05:53
@laszlokindrat
Copy link
Contributor

There is a related discussion going on here: #2924 Some of these traits might be moved/renamed as a result of that.

Copy link
Collaborator

@scottamain scottamain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@scottamain
Copy link
Collaborator

There is a related discussion going on here: #2924 Some of these traits might be moved/renamed as a result of that.

Yeah, maintaining this list is not ideal, but I think this change is still a good thing. The perfect thing will be for us to generate a list of "all traits" in the stdlib somewhere and then point to that.

@scottamain scottamain merged commit 388cbdb into modularml:nightly Jun 3, 2024
4 of 5 checks passed
@arthurevans
Copy link
Collaborator

This didn't get imported via copybara, and I'm not sure what's going to happen with it.

@JoeLoser
Copy link
Collaborator

JoeLoser commented Jun 4, 2024

Since this was not imported via copybara, the next nightly release (since internal is SoT), would just blow this change away. This change now shows up with every imported PR today due to this mistake. I will fix it.

@JoeLoser
Copy link
Collaborator

JoeLoser commented Jun 4, 2024

!sync

@arthurevans
Copy link
Collaborator

Thank you @JoeLoser!

@JoeLoser
Copy link
Collaborator

JoeLoser commented Jun 5, 2024

There is a related discussion going on here: #2924 Some of these traits might be moved/renamed as a result of that.

Yeah, maintaining this list is not ideal, but I think this change is still a good thing. The perfect thing will be for us to generate a list of "all traits" in the stdlib somewhere and then point to that.

Can you file an issue for Mojo tooling team? This shouldn't be that difficult for the doc gen tooling today.

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.

5 participants