Skip to content

Instantly share code, notes, and snippets.

View haudan's full-sized avatar

Daniel Hauser haudan

  • Fronius International GmbH
  • Austria
  • 05:01 (UTC +01:00)
View GitHub Profile
/*
#[yields]
fn foo(multi: i32) -> i32 {
let mut counter = 0i32;
yield 100;
println!("After yield 100!");
counter += 1;
yield 200;
let aeiou = "Hello!";
fn _main?()
{
x = -10
y = +20
}