> Null-safety, something like the “optional” type in Swift/Rust/etc where the > dereference is tied to a test such that you can’t access the value unsafely > (e.g. Swift's “if let” and “guard”, not C++'s “std::optional”.)
Have you taken a look into <https://github.com/arnetheduck/nim-result/> ?