Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed11812
commit b2d869d
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
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 | ||
} |
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