rust/fn.rs
gaurikholkar b2d869dc80 add logs
2017-09-12 10:06:29 +05:30

9 lines
256 B
Rust

fn foo(x: fn(&u8, &u8), y: Vec<&u8>, z: &u8) {
// Debruijn 1 1 1 1
// Anon-Index 0 1 0 1
// ------
// debruijn indices are shifted by 1 in here
y.push(z); // index will be zero or one
}