issues Search Results · repo:valkyrie-language/valkyrie.rs language:Rust
Filter by
23 results
(69 ms)23 results
invalkyrie-language/valkyrie.rs (press backspace or delete to remove)match term {
case bind - module::Name(ref a, mut b, c) if a 0:
body
}
Equivalent to:
let bind = term;
# Option (?, ?, ?)
let unapply = module::Name::extract(bind);
guard unapply.is_some() ...
Syntax
oovm
- Opened on Jun 16, 2023
- #23
Guard statements are statements that must end with a control expression.
guard then is the same as the if condition, guard else is the opposite of the if condition.
Syntax
oovm
- Opened on Jun 16, 2023
- #18
for i in [1, 2, 3] if i % 2 == 0 {
do_something(i)
}
Equivalent to
let mut $iter = IntoIterator::into_iterator([1, 2, 3])
let mut $next = $iter.next()
while $next.is_some() {
let i = $next!; ...
Syntax
oovm
- Opened on Jun 16, 2023
- #16
for i in [1, 2, 3] {
print(i)
}
Equivalent to
let mut $iter = IntoIterator::into_iterator([1, 2, 3])
let mut $next = $iter.next()
while $next.is_some() {
let i = $next!;
do_something(i); ...
Syntax
oovm
- Opened on Jun 16, 2023
- #15
for i in [1, 2, 3] if i % 2 == 0 {
do_something(i)
}
else {
do_something_else()
}
Equivalent to
let mut $iter = IntoIterator::into_iterator([1, 2, 3])
let mut $next = $iter.next()
let mut $no_run ...
Syntax
oovm
- Opened on Jun 16, 2023
- #14

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.