We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dyon has no null value, but uses some(val) and none(). It has a lot of common with result value, but there are a few differences.
null
some(val)
none()
some(x)
unwrap(some(x))
x
none()?
The type of option is opt (any type) and opt[T].
opt
opt[T]
This is designed for:
The text was updated successfully, but these errors were encountered:
err(x)/ok(x)
No branches or pull requests
Dyon has no
null
value, but usessome(val)
andnone()
. It has a lot of common with result value, but there are a few differences.some(x)
none()
unwrap(some(x))
returnsx
none()?
propagates an error, returning from the functionThe type of option is
opt
(any type) andopt[T]
.This is designed for:
The text was updated successfully, but these errors were encountered: