Sha256: 1d111f33570ad58fbe9ae815f2645aa090799468bbb8193e5827ce728cb1602e

Contents?: true

Size: 278 Bytes

Versions: 122

Compression:

Stored size: 278 Bytes

Contents

use core::*;

fn main() {
    for ["Alice", "Bob", "Carol"].each |&name| {
        do task::spawn {
            let v = rand::Rng().shuffle([1, 2, 3]);
            for v.each |&num| {
                io::print(fmt!("%s says: '%d'\n", name, num))
            }
        }
    }
}

Version data entries

122 entries across 120 versions & 9 rubygems

Version Path
rouge-0.5.3 lib/rouge/demos/rust
rouge-0.5.2 lib/rouge/demos/rust
rouge-0.5.1 lib/rouge/demos/rust
rouge-0.5.0 lib/rouge/demos/rust
rouge-0.4.0 lib/rouge/demos/rust
rouge-0.3.10 lib/rouge/demos/rust
rouge-0.3.9 lib/rouge/demos/rust
rouge-0.3.8 lib/rouge/demos/rust
rouge-0.3.7 lib/rouge/demos/rust
rouge-0.3.6 lib/rouge/demos/rust
rouge-0.3.5 lib/rouge/demos/rust
rouge-0.3.4 lib/rouge/demos/rust
rouge-0.3.3 lib/rouge/demos/rust
rouge-0.3.2 lib/rouge/demos/rust
rouge-0.3.1 lib/rouge/demos/rust
rouge-0.3.0 lib/rouge/demos/rust
rouge-0.2.15 lib/rouge/demos/rust
rouge-0.2.14 lib/rouge/demos/rust
rouge-0.2.13 lib/rouge/demos/rust
rouge-0.2.12 lib/rouge/demos/rust