Kevin Hoxha
Kevin Hoxha
increaseCap() might create a new vector base if it needs to grow, and so we should calculate the offset first. That way, we have avoid having possibly undefined behavior from...
## Bug Description There is a compiler error when using the `TestSuite` on `Int` values. Consider the following code snippet ``` from Testing import TestSuite let x: Int = 42...
### Where is the problem? https://docs.modular.com/mojo/stdlib/math/math.html#factorial ### What can we do better? In general, the factorial function is only defined for non negative integers. However, the docs don't place any...
### Where is the problem? https://docs.modular.com/mojo/stdlib/utils/vector.html#setitem__-2 ### What can we do better? Throughout the documentation, there are several functions that are used to manipulate data structures. I think it would...