Brian Grenier

Results 23 issues of 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...

mojo-repo

### 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...

bug
mojo
crash

- 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...

imported-internally
mojo-repo

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()`...

enhancement
mojo-repo

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...

enhancement
help wanted
mojo-repo

### 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...

enhancement
mojo-repo