From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: LdBeth Newsgroups: gmane.emacs.devel Subject: Re: Naming FCRs Date: Mon, 27 Dec 2021 13:46:20 +0800 Message-ID: References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38388"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO) Cc: rms@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 27 06:49:21 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 1n1isq-0009mr-E1 for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Dec 2021 06:49:20 +0100 Original-Received: from localhost ([::1]:39986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1isp-00048C-F7 for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Dec 2021 00:49:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1iqK-00033m-0a for emacs-devel@gnu.org; Mon, 27 Dec 2021 00:46:44 -0500 Original-Received: from out162-62-57-137.mail.qq.com ([162.62.57.137]:37013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1iq7-0005aT-At; Mon, 27 Dec 2021 00:46:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1640583983; bh=rIrXvVlh9R5J/Xcs0JL2zvhan5mYGGXI0KiCkbGX4Fk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DJ9lcoSLHrlqQ6MfRwYyg+6shpuRmEDlluKF9P5+0vZQewCejf+wlk4FZdqU9TwFW OXZsZQaGPOEJyo/VjCl2GEBk2ImqqC7yjL/Tv0nXFVWMT3h33QyothW2/keeFS2ZHq QR1tOmVDlGwOTUPr3sFtsClCZLF6oTd1VPS/vbow= Original-Received: from Costume-Party.local ([125.111.91.142]) by newxmesmtplogicsvrsza8.qq.com (NewEsmtp) with SMTP id B960929C; Mon, 27 Dec 2021 13:46:22 +0800 X-QQ-mid: xmsmtpt1640583982tljmp7fwe X-QQ-XMAILINFO: M75I2DDAzREFy4hXd6ARXMxYgfwXIq+toTU3CnhlNe69KorerBgDE8g74vbjEP V9TlPw7D6NIm7CaSl2jYx/KCBUIuVf6OTtCyRNUTOT4CCJneCyppibmkkh+MUrXacVNfaMCC4Mgz i/h+bfYOwVdfcirH56zNxrWQAKQbh2Rj7hCqC++qhmAIVqFPiKLLkm6T1LPvGFMFa6Qj0tIkHyOX GEg6nxsUR/LHPYbT16R/XKhQGGcJ4nvM24Ijai/pgjZnYwFC3dD6fHa5D0HKHTxqr3umZTRPJ1Qa I6A7jhUKEFcGRmyfB0SzxFRk9AGuLSXsYpenef4MXbKoNI6I5dGfwsc2DUjjKhsjnWPDlqqnz1xb ereVXwvNLwWM1Fw6UO7925hNGMNLkNCN5kYWzAQLH4mPEwGhO+0mWS5GR0Tx2RKDE5bIVmLnnQJO PG7+ZmFT9RydnS8Qy6TllL4TQtO/MKcrYhZH8Apz/ZxPW51RQmEC3FET4GZ9cr6HxbfK69bbtHd1 alG5A9zw+Ere9/GZq6fdygRU+0lSyB3lht2nGiyKfPaMCas6GoYYBgX4hKpYy0uP+V7fkuruO2M2 f+Qagq+4eFTDCFvESpHLo1LnNF3uORN1trDgBtxw92twkbWpfYljlPd5mYxTsdbeI3r+6O0Ui+qT dKcLuXcxZl2smlLxpEe4DhEuIeZGEy7cPBpdDPyv5yKl6DfUekDn6+LdZdIETOnp0d0mNdc7qEqc fiHFrC1MSiw8Lp5uHmVN3gueAb5R2WWZhzzehi7iKz9Tu+aqsZ7TlEepx+u9KFF879yLh2X65AYS mMz8ni7LAXFDmM1gi+iwA36k4kXmLb/jKDIE/FKe Original-Received: by Costume-Party.local (Postfix, from userid 501) id 25AC1203D42196; Mon, 27 Dec 2021 13:46:20 +0800 (CST) X-OQ-MSGID: In-Reply-To: X-Face: %[!P\u/BKFRGn_9h9|yO"ho?C0ej^LmM}WMb-`Jfj8OsS^^AKmHYGlD@^|7SEA3UzOGPFbB"OFczY?'\JtJ\lR'@&Y5j; s8{$&|3D>^i.U4l2h?1qpD.+{[$~j]vBeHZf^|BGyL8{/`4 X-Attribution: ldb Received-SPF: pass client-ip=162.62.57.137; envelope-from=andpuke@foxmail.com; helo=out162-62-57-137.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:283397 Archived-At: > The current name stands for FunCallableRecords, but this name is clearly > wrong, since it makes it sound like I'm defining a special kind of > record that just happen to be callable as a function, whereas FCRs are > really fundamentally functions that happen to have slots and a type, > like records. I'm not sure, is this feature similar to "Flavors" or "Entifies" avaliable from Lisp Machine? To quote from Lisp Machine Manual > An entity is almost the same thing as a closure; an entity behaves > just like a closure when applied, but it has a recognizably > different data type which allows certain parts of the system such as > the printer and describe to treat it differently. A dosurc is simply > a kind of =B7function, but an entity is assumed to be a > message-receiving object. Thus, when the Lisp printer (sec section > 23.1, page 506) is given a closure, it prints a simple textual > representation, but when it is handed an entity~ it sends the entity > a :print-self message, which the entity is expected to handle. The > describe function (sec page 791) also sends entities messages when > it is handed them. So when you want to make a message-receiving > object out of a closure, as described on page 407, you should usc an > entity instead. --=20 LDB