2011-07-11 19:26:40 -05:00
|
|
|
fn main() {
|
2011-09-12 04:27:30 -05:00
|
|
|
fn echo<T>(c: int, x: [T]) { }
|
2011-07-13 17:44:09 -05:00
|
|
|
|
2011-10-18 17:07:40 -05:00
|
|
|
let y: fn@([int]) = bind echo(42, _);
|
2011-07-11 19:26:40 -05:00
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
y([1]);
|
2011-07-27 20:39:57 -05:00
|
|
|
}
|