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
What? Type guard for maybe types.
maybe
Why? Currently maybe types data cannot be used anywhere except assign it to another maybe type variable.
How? Sample Wyrd Code
mutable maybe Num foo = 123 Num bar = if foo != Null => foo + 456 else => 789
Compiled Result
const foo = 123; const bar = foo !== null ? foo + 456 : 789;
The text was updated successfully, but these errors were encountered:
Blocked by bug #111
Sorry, something went wrong.
No branches or pull requests
What?
Type guard for
maybe
types.Why?
Currently maybe types data cannot be used anywhere except assign it to another
maybe
type variable.How?
Sample Wyrd Code
Compiled Result
The text was updated successfully, but these errors were encountered: