From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9468 invoked from network); 11 May 2020 11:37:24 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 May 2020 11:37:24 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id C5C149C602; Mon, 11 May 2020 21:37:18 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id BD0769C2EE; Mon, 11 May 2020 21:36:47 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id C03429C2EE; Mon, 11 May 2020 21:36:44 +1000 (AEST) Received: from pio-pvt-msa3.bahnhof.se (pio-pvt-msa3.bahnhof.se [79.136.2.42]) by minnie.tuhs.org (Postfix) with ESMTPS id 282529C2ED for ; Mon, 11 May 2020 21:36:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa3.bahnhof.se (Postfix) with ESMTP id 23EF13FF84 for ; Mon, 11 May 2020 13:36:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from pio-pvt-msa3.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AmGlP0sUuGxg for ; Mon, 11 May 2020 13:36:41 +0200 (CEST) Received: from localhost (unknown [155.4.89.211]) (Authenticated sender: mc327956) by pio-pvt-msa3.bahnhof.se (Postfix) with ESMTPA id 3E0943FF83 for ; Mon, 11 May 2020 13:36:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTPS id 814F72E02D2 for ; Mon, 11 May 2020 13:36:40 +0200 (CEST) Date: Mon, 11 May 2020 11:36:39 +0000 From: Michael =?utf-8?B?S2rDtnJsaW5n?= To: tuhs@tuhs.org Message-ID: References: <6D6EFA0C-36C3-4225-A331-D1998A07C50A@gmail.com> <3cb1126796176debe28aa66672ba27ae@yaccman.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3cb1126796176debe28aa66672ba27ae@yaccman.com> Subject: Re: [TUHS] v7 K&R C X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 10 May 2020 17:28 -0700, from scj@yaccman.com: > With respect to enums, there is a feature I've wanted for years: a typed > typedef. Saying typetdef int foo would make foo an integer, but if you > passed an ordinary int to something declared as foo it would be an > error. Even if it was an integer constant unless cast. Isn't that at least pretty close to how Ada does it? -- Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”