Brian Grenier
Brian Grenier
Add __rmod__ for SIMD types to allow expressions with an `Int` on the lhs Fixes #1482
Fixes #2337 As mentioned in the referenced issue, the `__index__()` method allows types other than the base `Int` to be used when indexing containers without allowing inappropriate types that happen...
### Bug description If a struct has both a simple parameterized `__getitem__` implementation, as well as one that takes a slice. Attempting to use the slice operator will result in...
- Use `Optional` for `Slice` `start` and `end` - Fix negative step slice indexing - Fix incorrect String unit tests - Fix `_StridedRange` length with mismatched start and end indices...
Fixes #2604 Implements the `bin()` builtin function from Python for converting integral values to a binary string representation. Leaving this as a draft for now as Python dictates that any...
### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? Implement the `bin()`...
The `gcd` implementation in Python accepts a variadic list of integers. The existing mojo implementation lives in the closed source part of the stdlib and I see the comment mentioning...
### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? Immediately upon completing...
### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? Come up with...