Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rtech.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!hao!hplabs!amdahl!rtech!mark From: mark@rtech.ARPA (Mark Wittenberg) Newsgroups: net.lang.c Subject: Re: Re: YAAO (yet another assignment op Message-ID: <141@rtech.ARPA> Date: Mon, 11-Feb-85 18:41:37 EST Article-I.D.: rtech.141 Posted: Mon Feb 11 18:41:37 1985 Date-Received: Thu, 14-Feb-85 01:47:53 EST References: <10983@watmath.UUCP> <21000020@uiucuxc.UUCP> <354@snow.UUCP> Organization: Relational Technology, Berkeley CA Lines: 31 > One I can't remember being mentioned so far :- > > ->= > > Then you can use > > p ->= next; > > for chasing down lists! I always thought it would be sort of nice to have <=> as "swap": thus a <=> b; replaces some_type c; c = a; a = b; b = a; useful since "some_type" can't be decided dynamically. Also on some machines and for some "some_type" this can be done efficiently, even atomically, eg, register char *a, *b; a <=> b; on a 68000 is one instruction. Mark Wittenberg Relational Technology, Inc. ucbvax!mtxinu!rtech!mark zehntel!rtech!mark