Quark 0.3.0
Pre-release
Pre-release
Added builtin Option<T> syntax using the? operator along with optional coalescing.
i32? /* same as */ Option<i32>
i32? maybe_number = Option::Some(15);
struct Struct {
i32 field;
void method(self) {}
}
Struct? object = Option::None();
i32? field = object?.field;
object?.method();
Full Changelog: 0.2.1...0.3.0