-
-
Save griwes/79550952c03b21f0191e399479b05b01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* let mut v = vec![1, 2, 3]; | |
for i in &v { | |
println!("{}", i); | |
v.push(34); // sorry, no can do | |
} */ | |
let mutable v = vector{ 1, 2, 3 }; | |
v ->> λi { | |
print(i); | |
// v.push(34); // sorry, no can do | |
async v.push(34); // okay, but only after this mapping actually ends | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment