[nem-en] out / ref
Igor Tkachev
it at rsdn.ru
Wed Sep 27 14:24:35 CEST 2006
Hello Ivan,
> Yes, this is more clearly, but I insist that using same syntax
> for absolutely different things - Foo(_) and Foo(out _).
> I'll like this idea if these different things will have different
> syntax. For example Foo(?) and Foo(out _) and vice versa.
Wait a second! What about:
Foo(_ : int) : void
{
_ = "".Length;
match(some_list)
{
| [1, _] => ()
| h :: _ :: t => ()
| _ => ()
}
}
All of this is different syntax. And BTW meaning of this is much
closer to Foo(out _) than to Foo(_). Actually, that's the reason why I
thought this syntax will be quite natural and very logical for
Nemerle.
--
Best regards,
Igor mailto:it at rsdn.ru
More information about the devel-en
mailing list