Skip to content

Instantly share code, notes, and snippets.

@msullivan
Created August 16, 2012 22:13
Show Gist options
  • Select an option

  • Save msullivan/3374098 to your computer and use it in GitHub Desktop.

Select an option

Save msullivan/3374098 to your computer and use it in GitHub Desktop.
fn seq_range(lo: uint, hi: uint) -> @[uint] {
build(|push|
for uint::range(lo, hi) |i| {
push(i);
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment