-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[stdlib] String comparisons implemented #2409
Commits on Apr 29, 2024
-
[stdlib] Implemented __lt__, __le__, __gt__, & __ge__ for String, and…
… added tests. Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for ccbe327 - Browse repository at this point
Copy the full SHA ccbe327View commit details -
[stdlib] Whitespace and formatting fix.
Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a0146b - Browse repository at this point
Copy the full SHA 3a0146bView commit details -
[stdlib] Removed an accidental variable redefiniton in test_compariso…
…n_operators() for String. Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for d84deef - Browse repository at this point
Copy the full SHA d84deefView commit details -
[stdlib] small change to String's test_comparison_operators()
Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69c1d12 - Browse repository at this point
Copy the full SHA 69c1d12View commit details -
[stdlib] Implemented __lt__, __le__, __gt__, & __ge__ for StringLiter…
…al (+tests) Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for c9d58da - Browse repository at this point
Copy the full SHA c9d58daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dea5b9 - Browse repository at this point
Copy the full SHA 9dea5b9View commit details -
[stdlib] Replaced invalid usages of math.min in string.mojo and strin…
…g_literal.mojo with if/else-statements. Also fixed the string comparison tests to make them look better when formatted correctly. Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3439ea3 - Browse repository at this point
Copy the full SHA 3439ea3View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3295806 - Browse repository at this point
Copy the full SHA 3295806View commit details
Commits on May 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 47701d8 - Browse repository at this point
Copy the full SHA 47701d8View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b17a855 - Browse repository at this point
Copy the full SHA b17a855View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 13cb73b - Browse repository at this point
Copy the full SHA 13cb73bView commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b73124 - Browse repository at this point
Copy the full SHA 2b73124View commit details -
[stdlib] Replaced ._as_ptr() with .unsafe_ptr() in String and StringL…
…iteral's __lt__-methods. Also updated the tests to use the dunder methods directly (instead of their operators). Signed-off-by: Simon Hellsten <simonhellsten@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5b03ae8 - Browse repository at this point
Copy the full SHA 5b03ae8View commit details