Lukas Hermann
Lukas Hermann
To be clear, I opened this ticket with the intention of behavior within an `fn` context. I believe within a `def` things should work as always, but `fn` has stricter...
"Extent" property for Regression does not modify the regression extent and nullifies the regression.
I see the issue. Will put up a fix ASAP.
For what it's worth, "Algebraic data types like ‘enum’ in Swift/Rust" is [already on the roadmap](https://docs.modular.com/mojo/roadmap.html#small-independent-features).
I agree that many error types can be tough, but I would also caution against giant catch all error types. Sabrina Jewson has a [great article](https://sabrinajewson.org/blog/errors) describing the pitfalls of...
@jayant-01 What I'm asking for amounts to just defining a few constants, kind of like [the C numeric limits](https://en.cppreference.com/w/cpp/types/climits) or the [associated constants on Rust types](https://doc.rust-lang.org/std/primitive.i32.html#associatedconstant.MIN). Ideally it would also...
@jayant-01 that's not exactly right. I'm asking for a function that will return the lowest possible value for a type, and the highest possible value for that type. These wouldn't...
I thought some more about this and I could see different situations where different behaviors are preferable. Using the above content as example pieces: * If I wanted to search...
@ksandvik those are all things that are important long term, but the major ask here is just a method (something like): ``` fn read_path_to_string(path: StringRef) -> String ``` Which should...
That makes sense. I would be satisfied with that decision as long as there is a constructor for `SIMD[DType.ui8, N]` for other SIMD types. It could potentially take a `Endianness`...
Another interesting way to consider this request is less about type comparison and more a request for first class rank polymorphism. There is [precedent in numpy for this behavior](https://analyzethedatanotthedrivel.org/2018/03/31/numpy-another-iverson-ghost/).