This file contains hidden or 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
| /* | |
| #[yields] | |
| fn foo(multi: i32) -> i32 { | |
| let mut counter = 0i32; | |
| yield 100; | |
| println!("After yield 100!"); | |
| counter += 1; | |
| yield 200; | |
| let aeiou = "Hello!"; |
This file contains hidden or 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
| fn _main?() | |
| { | |
| x = -10 | |
| y = +20 | |
| } |
NewerOlder