Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!cwruecmp!atvax!ncoast!bsa From: bsa@ncoast.UUCP (Brandon Allbery) Newsgroups: net.lang.c Subject: Re: type punning Message-ID: <610@ncoast.UUCP> Date: Mon, 25-Feb-85 20:56:58 EST Article-I.D.: ncoast.610 Posted: Mon Feb 25 20:56:58 1985 Date-Received: Fri, 1-Mar-85 06:43:07 EST References: <8125@brl-tgr.ARPA> Reply-To: bsa@ncoast.UUCP (Brandon Allbery) Organization: North Coast Programming, Cleveland Lines: 24 Summary: > Article <8125@brl-tgr.ARPA>, from cottrell@nbs-vms.ARPA +---------------- | /* | As promised, a good reason for type punning. We start off with the | definition of basic doubly linked circular lists: | Oh, for crying out loud! Someone give this person an Ada compiler, PLEASE! generic package LIST_PAK is ... package COM_LIST_PAK is new LIST_PAK(COM_RECORD); package STR_LIST_PAK is new LIST_PAK(STRING); ... (Ada hacks -- did I do that right? I haven't found an Ada compiler to play with yet.) --bsa -- Brandon Allbery, decvax!cwruecmp!ncoast!bsa, ncoast!bsa@case.csnet (etc.) 6504 Chestnut Road Independence, Ohio 44131 +1 216 524 1416 -- CIS 74106,1032 -=> Does the Doctor make house calls? <=-