Path: utzoo!attcan!uunet!husc6!spdcc!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.lang.c
Subject: Re: why p->member ?
Message-ID: <6169@haddock.ISC.COM>
Date: 16 Aug 88 15:27:00 GMT
References: <16734@adm.ARPA> <474@sp7040.UUCP> <12937@mimsy.UUCP> <968@infbs.UUCP>
Reply-To: karl@haddock.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 9

In article <968@infbs.UUCP> neitzel@infbs (Martin Neitzel) writes:
>I for one would enjoy a corresponding assignment ... "node ->= next".

It could be done, but it doesn't really fit well into the language.  "->"
isn't an binary operator in the usual sense, since its right operand isn't
an expression.  Similarly, you can't write "x -=" to mean "x = -x".

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint
(Yes, the above can be written "x *= -1", but that's not the point.)