From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_ZEN_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from txout-a4-smtp.messagingengine.com (txout-a4-smtp.messagingengine.com [103.168.172.227]) by inbox.vuxu.org (Postfix) with ESMTP id 9A4CD22340 for ; Tue, 16 Dec 2025 16:56:00 +0100 (CET) Received: from localhost.localdomain (phl-topicbox-02.internal [10.202.2.220]) by mailtxout.phl.internal (Postfix) with ESMTP id 734141C0190 for ; Tue, 16 Dec 2025 10:55:59 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=sirjofri.de header.i=@sirjofri.de header.b=ilYEIX9/ header.a=rsa-sha256 header.s=dkimone x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:to:message-id:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:from:list-unsubscribe; s= sysmsg-1; t=1765900559; bh=1WTL0iSId50Pu59alugi/5BTyW+oTURj5Y8UK 8EMZ14=; b=ZXdSfwACtMqzt18QmSz7d7dTwtguS11tMPLZHI0TeKUQWZsNvTKrR 9F30YNmz17FtIsWA4zKs+cK+we/k4OzGcOOS3JLELIaW/7DDPAvI/mhinG5uJK1G XS81Hpw52UEFe1/c8jc73zSxtNrY9WVSvDovOVzRbRfZq6+e2E6Z0U= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1765900559; b=EJrp9IoAervX7O4nuB2Da0UN/+19ZnoNRxNqFQqThd5mhQkBwU sjsDWeumYSt+JPaZgU9TV+m/4BN0VRFSXkG+GzbX6SpV2unva3fJJAJ5vE1KVzh/ jcjW/9mnwJtBLn4VJgcXGv90QxDQKdD76siKISKNp0tZ9MYtHQrTckAOs= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=sirjofri.de header.i=@sirjofri.de header.b=ilYEIX9/ header.a=rsa-sha256 header.s=dkimone x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: authmilter.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=pass (2048-bit rsa key sha256) header.d=sirjofri.de header.i=@sirjofri.de header.b=ilYEIX9/ header.a=rsa-sha256 header.s=dkimone x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-CHACHA20-POLY1305 smtp.bits=256/256; x-vs=clean score=50 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:to :message-id:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to:subject :from:list-unsubscribe; s=dkim-1; t=1765900559; x=1765986959; bh=1WTL0iSId50Pu59alugi/5BTyW+oTURj5Y8UK8EMZ14=; b=gbMWCeeTPc3F IH3BuKHjz7WwFGi0I7HHVZBKI3ZHQ/2DPzcWumnEmqoUW1e0hD/axumXa8J7ll0/ KTHCZce2J2rGGuNv4iBEydYwL1TMdmz9DgdjNFqtrkKk+oAKI5+9UT/ug2YHTB1Y VcnjW/TWgTLyzBpTa6xPFuXu5BagWDM= Received: from authmilter.topicbox.com (unknown [172.17.0.1]) by mx.topicbox.com (Postfix) with ESMTP id 0E0244D80027 for <9fans@9fans.net>; Tue, 16 Dec 2025 10:36:05 -0500 (EST) Received: from mx.topicbox.com (172.17.0.1 [172.17.0.1]) by authmilter.topicbox.com (Authentication Milter) with ESMTP id 00260E53696; Tue, 16 Dec 2025 10:36:05 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1765899365; b=Rii/j5732dPosyL+lsaIGYJ+x24JMn+Z9Te32N2zRAcf0kgQVU eM6MzRoewLB2hDyDOUbvaEmZv6gph9DdoTVbK8O3npdIH8ZwvDy00rus/kr5sYoz mCVZ4pPmtftpMEKP99cfuGNE7Z6JSItTJbVTV247zW795W61kyqZ8awv9m7ePigL 5NcM+Ul3nRoNZO4pgyYjYNNIOsf+w1Hxdw5rcW0Rr51X8c03b1xs89Lf3Yo/dNL+ 7i5lgBur5JVT8Ehn/5XUsNyV3ywXbIZTVNczPPppaJC6LP02E/E1O0isf0BWoUor 0eDtWcR973WAA4hrlUzZBAoTY3Ymgi6IxBhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:subject:mime-version :content-type:content-transfer-encoding; s=arcseal; t= 1765899365; bh=k+Ff39/q/SEIqxq3hjdSKogFCPJQDOMRPxYjNh/l1pc=; b=P a6i3vykQSTSXx5l07am3M+BxbsZSvlYF6AuC9YPejRdIpsjB3dklsJl0NIil/PzX NkO5HrKmShEfOdOvpmCZVaGZK+T1zfF5B3remszsi6PO9VJjPkleKN9GWrGbFRT/ UQTXyTCttq9p4YajvpH/4WPuyAQatkCkjTsGHtjqp+V6o5bL4PXTHe6HjW4aFbpy 3hv/g4bDygqQqiHYywStUSc53iOdzxysJvRBX1IDCNrft+ueEpFTZKFmF3exvYxV jwm8LXCLB2GIDRXKc7L8DSeVz0XyPv/byQhmmJuebM7742V2xRqrgCIEI0BNP/Of sRy3EWhqoNL9X2BIriz+Q== ARC-Authentication-Results: i=1; authmilter.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=pass (2048-bit rsa key sha256) header.d=sirjofri.de header.i=@sirjofri.de header.b=ilYEIX9/ header.a=rsa-sha256 header.s=dkimone x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-CHACHA20-POLY1305 smtp.bits=256/256; x-vs=clean score=50 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdegtddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecuogfvvgigthfqnhhlhi dqqdetfeejfedqtdegucdlhedtmdenucfjughrpeffhffvkffugggtgfesthejredttddt jeenucfhrhhomhepshhirhhjohhfrhhiuceoshhirhhjohhfrhhiodhmlhdqlehfrghnsh esshhirhhjohhfrhhirdguvgeqnecuggftrfgrthhtvghrnhepleefgfeihfejveejgeet teeigfdtgfeiteegueeileetiefftefgjeeufeegheetnecuffhomhgrihhnpehgihhthh husgdrtghomhdpthihphgvshhtrhdrmhgunecukfhppeehrdeghedruddthedruddvjedp keegrdduieehrdduvdejrdelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epihhnvghtpeehrdeghedruddthedruddvjedphhgvlhhopehsihhrjhhofhhrihdruggv pdhmrghilhhfrhhomhepoehsihhrjhhofhhrihdomhhlqdelfhgrnhhssehsihhrjhhofh hrihdruggvqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeolehfrghnsheslehf rghnshdrnhgvtheq X-ME-VSScore: 50 X-ME-VSCategory: clean Received-SPF: pass (sirjofri.de: 5.45.105.127 is authorized to use 'sirjofri+ml-9fans@sirjofri.de' in 'mfrom' identity (mechanism 'mx' matched)) receiver=authmilter.topicbox.com; identity=mailfrom; envelope-from="sirjofri+ml-9fans@sirjofri.de"; helo=sirjofri.de; client-ip=5.45.105.127 Received: from sirjofri.de (sirjofri.de [5.45.105.127]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 16 Dec 2025 10:36:03 -0500 (EST) Received: from dummy.faircode.eu ([84.165.127.93]) by sirjofri.de; Tue Dec 16 16:35:59 +0100 2025 Date: Tue, 16 Dec 2025 16:35:56 +0100 (GMT+01:00) To: 9fans <9fans@9fans.net> Message-ID: <624d190a-c592-49db-8223-67802389697e@sirjofri.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <624d190a-c592-49db-8223-67802389697e@sirjofri.de> Topicbox-Policy-Reasoning: moderate: sender is a member; group holds all messages Topicbox-Message-UUID: efa5f1bc-da94-11f0-b3d7-4c546bc11ef0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UN2VlMjQyOTFhZjk1N2RiNy1NZWYxMTliNzBhNGZjNzZhNWQwYWM0?= =?UTF-8?B?NDg2Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Typestr usage (inspired by libgeometry) From: "sirjofri via 9fans" <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mef119b70a4fc76a5d0ac4486:1:CalSaXqFfOFc1bwfKFNiwxicDjQwmlIlju5wXOSDFQc Hi, I just had a quick thought about using typestr in libgeometry. However, I n= oticed that typestr is nowhere used in 9front at all (besides the compiler = that implements it as a feature). Thinking about how typestr provides pretty cool syntactic sugar, I was wond= ering why that's the case? Is there a goal to maintain the C standard as fa= r as it makes sense, or is it compatibility between plan 9 systems? Before thinking about it too much, I just ask here. I personally only use it in some cases where it makes sense, in cases simil= ar to the complex number example I was able to find online[1]. I don't thin= k it should be used to hide things, just to provide the ability to write co= de that's easier to read and understand. For example, instead of combining = matrices using functions, I could just type S * R * S, or to add vectors, I= can just V + W. For plan 9, adding Points would be trivial. Note that I'm _not_ proposing to update all of the routines to use this fea= ture. I'd just like to know your thoughts about using it (or not using it). sirjofri [1] https://github.com/henesy/plan9-typestr/blob/master/typestr.md ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T7ee24291af957db7-Mef119= b70a4fc76a5d0ac4486 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription