From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Naming FCRs Date: Mon, 27 Dec 2021 13:55:07 -0500 Message-ID: References: <724e537f-badc-60a5-eef7-33663d0c7441@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29547"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 27 19:57:03 2021 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 1n1vB8-0007Tt-EB for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Dec 2021 19:57:02 +0100 Original-Received: from localhost ([::1]:50620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1vB6-0007LH-VA for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Dec 2021 13:57:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1v9c-00065U-Hk for emacs-devel@gnu.org; Mon, 27 Dec 2021 13:55:28 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1v9W-00081U-Sj for emacs-devel@gnu.org; Mon, 27 Dec 2021 13:55:27 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 559A9442984; Mon, 27 Dec 2021 13:55:20 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 06CAE44297F; Mon, 27 Dec 2021 13:55:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1640631319; bh=D9ECNpD5w0cBzO+6IAn3ZFl8noMbEPChZBZ4DS2ksd0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Zk59xMQEyobpCQdrnEHS7pDPRrYLAO6+T1CpGvqKtL/Wkf9TqSP+9F8VhsLT/fKQ6 c9bQ57luaQyfUmhXnQHDH/GrgeLVmFr2u4Hr81lvpcZpkQ3KQrp0Korom71TXlo0Bo 3r/BTZPP1pCGGvWMrY6rGXPeXH9chFUW38zILArAvcGnmGWNevUsIH1NS9rWKoOzb0 N2RPR6j3xT57xDpijCU3Mf4LLkryKXx+/x4k0+8VsjQmmvLPz2P3gty6MiBRd0ic+X AepQTEuvyfl5x/4TEW7UQz61tuVstuHg8n9w/HxZZTi+4p648kKs2+WyaYLJua9im/ YVx6+2zumSUBw== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D1C701201B9; Mon, 27 Dec 2021 13:55:18 -0500 (EST) In-Reply-To: <724e537f-badc-60a5-eef7-33663d0c7441@yandex.ru> (Dmitry Gutov's message of "Mon, 27 Dec 2021 00:29:29 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:283443 Archived-At: Dmitry Gutov [2021-12-27 00:29:29] wrote: > On 27.12.2021 01:04, Stefan Monnier wrote: >> - Monomaniac objects (since they're a bit like OO-style objects but >> limited to have only exactly one method). > A function with a value attached sounds like a "method". Hmm... in my mind a method is more like a function attached to a (set of) objects. > Not too fun, though. There's a fair bit of potential by playing with the "meth" prefix, I think. > I also looked at the branch briefly -- if it's what it sounded like then you > might be setting up a new "Callable protocol" which can allow any object to > serve as a function, not just records? Like how maps are callable > in Clojure. Not really. It's more about adding object characteristics to functions than adding function characteristics to objects. Stefan