Email list hosting service & mailing list manager

Incompatibility with pattern matching Andre van Tonder (19 Sep 2005 14:02 UTC)
Re: Incompatibility with pattern matching Michael Sperber (20 Sep 2005 10:36 UTC)
Re: Incompatibility with pattern matching Andre van Tonder (20 Sep 2005 15:46 UTC)
Re: Incompatibility with pattern matching Michael Sperber (20 Sep 2005 16:04 UTC)
Re: Incompatibility with pattern matching Marcin 'Qrczak' Kowalczyk (20 Sep 2005 12:02 UTC)

Re: Incompatibility with pattern matching Michael Sperber 20 Sep 2005 16:04 UTC

Andre van Tonder <xxxxxx@now.het.brown.edu> writes:

> I agree that it scales poorly, but the same objection arguably applies to
> /constructors/ (and parents) with positional arguments, yet these are built
> into the basic syntax.

Well, but it's much less serious here, as there are typically many
occurrences of an accessor for a single occurrence of a constructor.
Moreover, in the present design, the constructor must always receive a
full slate of arguments.

Furthermore, keywords for constructors can easily be built on top of
what's there, as can keywords (or whatever) for pattern matching.
(But who am I talking to? :-) )

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla