On 15.03.2006, at 12:16, Boriss Mejias wrote:
_Something looks more readable than _/*Something*/
proc {Foo Id _/*Name*/ _/*Address*/} ... end
is less nicer than
proc {Foo Id _Name _Address} ... end
I see what you mean, its convenient. I also realise that this construct
is already an established device in other languages.
Unfortunately, there is another thing: How likely is it that existing
code does (perhaps accidentally) something like
{P _X}
instead of
{P _ X}
So far, the compiler treats both the same.
declare
X=1
proc {P X Y} {Browse X#Y} end
{P _X}
Could introducing the notation _X as a single value break existing code?
Best,
Torsten
--
Torsten Anders
Sonic Arts Research Centre
Queen's University Belfast (UK)
www.torsten-anders.de
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users