Null Operators
Will operators Nullish coalescing (?? )and Optional chaining (?.) opearators be added to mojo?
4 Replies
Modular Docs - Mojo🔥 roadmap & sharp edges
A summary of our Mojo plans, including upcoming features and things we need to fix.
I think we'll need a python PEP before adding this to Mojo
Unless Mojo add support to arbitrary operator in the future.
Yeah, I think we should also have a PEP for anonymous arrow functions through some syntax from JavaScript.
That makes it very easy to work with asynchronous applications.
And if we could have a pipeline operator or .then type of methods that takes output of one call after it succeeds and then pass it to other functions, that would be cherry on top of cake
If python approves this, it'll be great and might be later added to mojo