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
fn testgxx () -> Unit { let v = 0N match v { 1 => println("hello") } println(v) }
==>
fn testgxx () -> Unit { let v/1 : BigInt = BigInt::from_string("0") in if BigInt::op_equal(v/1, BigInt::from_string("1")) { $builtin.println("hello") } else { raise "match_failure" } $builtin.println(v/1) }
The text was updated successfully, but these errors were encountered:
for pattern match: we can provide two functions, so that no allocation is needed in most cases:
equal_int(BigInt, Int) -> Bool equal_int64(BigInt, Int64) -> Bool
cc @Yoorkin @peter-jerry-ye
Sorry, something went wrong.
#937
Yoorkin
No branches or pull requests
==>
The text was updated successfully, but these errors were encountered: