You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, first, thank you very much for the project, it is quite handy for me.
What do you think of being able to use ? on dictionaries access?
So instead of writing this:
@gahag sure, either way would be nice. I thought of ? because it could also short circuit functions.
I mean, the operator I said, was not to access the field itself, but to change how access work, like, first making invalid index not panicking, and then the ? to do the check of error, like rust's Result.
Or, if dicts would always return nil for invalid indexes, ? would behave like rust functions that return Optional<T>
Hey there, first, thank you very much for the project, it is quite handy for me.
What do you think of being able to use
?
on dictionaries access?So instead of writing this:
one could write this:
The text was updated successfully, but these errors were encountered: