From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: feature/type-hierarchy 8a63e50036f 1/5: * Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it Date: Sun, 03 Mar 2024 03:51:44 -0500 Message-ID: References: <170801660982.26727.13226947668211497607@vcs2.savannah.gnu.org> <20240215170330.82819C0F009@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11349"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 03 09:52:22 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rgha1-0002mS-95 for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Mar 2024 09:52:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rghZS-0007sN-Fz; Sun, 03 Mar 2024 03:51:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rghZQ-0007s4-NW for emacs-devel@gnu.org; Sun, 03 Mar 2024 03:51:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rghZQ-0004Sn-D0; Sun, 03 Mar 2024 03:51:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=A74xQdvW6iVcP0lDZyo/JXTIweVrKUpFp+PsEVrptXY=; b=Y2qSOfesiPYC16XvsU3A bzqAgGGzFMKiwpCFTqHc6Bhf2+8Iq6dEA9Gujy6ZylOjqTSpkmgcQFmhq8/s83eMFQKZzdQ/tJACL 9vN41kkjP0GcJha4OxdYd8pzRm0vwwkENNu6zmLHfrKT/e0vOpcrcthVKfY8/PwU0fedfN1wILB6i 2ljwh4BZijUjcBypgMaZi//CDw+9vGjGdnSdRl2JV5xs/lSvAWDd3D8L6aPtW9xXkkAwJGyUFk76J y11pKyWI5b66y0F69/KEpG10Pkup5N566cF3E5NPHsS1G/0BjJXVVFCukl6MI5LXbj5TQI0sFXdNH vxMsAtCzk80Amg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rghZQ-0001ES-7B; Sun, 03 Mar 2024 03:51:44 -0500 In-Reply-To: (Stefan Monnier's message of "Fri, 01 Mar 2024 13:59:18 -0500") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316738 Archived-At: Stefan Monnier writes: >>>> + (symbol-with-pos keyword)) >> Can't we have keyword that is a symbol-with-pos as well? > > I'm not sure (it depends if we agree that a `symbol-with-pos` is also > a `symbol`. In practice it presumably depends on the value of > `symbols-with-pos-enabled` =F0=9F=99=81), I *think* (thought at this point?) symbols-with-pos are symbols =F0=9F=A4= =B7. > but I know that not all > `symbol-with-pos`s are `keyword`s. How do you think this should be expressed in the DAG? I thought this was the correct way but I can indeed be wrong. > > Stefan "who thinks he would prefer that `symbols-with-pos-enabled` > only affects the behavior of `eq`" Could you explain why you think `symbols-with-pos-enabled` should influence our type hierarchy? Thanks Andrea