Newsgroups: comp.lang.dylan
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!ix.netcom.com!netcom.com!netcom4!haahr
From: haahr@netcom.com (Paul Haahr)
Subject: Re: Dylan ain't Smalltalk -- but why not?
In-Reply-To: barmar@nic.near.net's message of 10 Jan 1995 14:33:28 -0500
Message-ID: <HAAHR.95Jan10175442@netcom4.netcom.com>
Sender: haahr@netcom.com (Paul Haahr)
Organization: NETCOM On-line services
References: <3et94j$ch2@lll-winken.llnl.gov> <3eu93p$11g@newsbf02.news.aol.com>
	<3eune8$347@tools.near.net>
Date: Tue, 10 Jan 1995 22:54:40 GMT
Lines: 22

Barry Margolin writes:
> The most common use of keywords is in parameter lists, where the
> 	keyword: value
> syntax mirrors the way colons are used in natural language text.

Yep.

> Of course, this works much better in the Lisp-like Dylan syntax than the
> Algol-like syntax.  In the new syntax such parameters look like
> 	keyword:, value

Nope.  Check out the DIRM, or Mindy.  No comma needed after a keyword in
an argument list, so, for example,

	make(<vector>, size: 42, fill: #t);

works just fine.  If you wanted you could write it as either of

	make(<vector>, size:, 42, fill:, #t);
	make(<vector>, #"size", 42, #"fill", #t);

Paul
