От: | _nn_ | www.nemerleweb.com | |
Дата: | 18.10.10 15:12 | ||
Оценка: |
module Program
{
Run[T](_ : T) : void { Console.WriteLine("_ : T"); }
Run[T](params _ : array[T]) : void { Console.WriteLine("params _ : array[T]"); }
Main() : void
{
Run(1, 2);
}
}
def f(a)
{
| (x, y) => ()
| _ => ()
}
f(1, 2);