От: | VladD2 | www.nemerle.org | |
Дата: | 20.04.10 14:40 | ||
Оценка: |
А> collection.Iter( _.Foo() )
А>
using System.Console;
[Record]
class X
{
private Value : string;
public Foo() : void { WriteLine(Value); }
}
module Program
{
Main() : void
{
def xs = [X("X1"), X("X2")];
xs.Iter(_.Foo());
}
}