4 ms·
What is the deal with exceptions? I see https://docs.modular.com/mojo/roadmap#the-standard-library-has-limited-exceptions-use https://docs.modular.com/mojo/road
by aconz2 2y ago
What is the deal with exceptions? I see https://docs.modular.com/mojo/roadmap#the-standard-library-has-limited-exceptions-use https://docs.modular.com/mojo/roadmap#the-standard-library-h... and https://github.com/modularml/mojo/blob/main/stdlib/src/builtin/int.mojo#L547 https://github.com/modularml/mojo/blob/main/stdlib/src/built... but then other places debug_assert is used https://github.com/modularml/mojo/blob/6d2a7b552769358ec68a94b8fd1f6c2126d59ad9/stdlib/src/builtin/range.mojo#L42 https://github.com/modularml/mojo/blob/6d2a7b552769358ec68a9...