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: Naming FCRs Date: Sun, 26 Dec 2021 17:04:25 -0500 Message-ID: Reply-To: monnier@iro.umontreal.ca Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25833"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 23:05:46 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 1n1beD-0006V9-L6 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 23:05:45 +0100 Original-Received: from localhost ([::1]:45536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1beB-00008V-R1 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 17:05:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1bd8-0007mp-T7 for emacs-devel@gnu.org; Sun, 26 Dec 2021 17:04:38 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1bd6-0002Lo-3w for emacs-devel@gnu.org; Sun, 26 Dec 2021 17:04:37 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D3D4210018E; Sun, 26 Dec 2021 17:04:33 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2F18010000B; Sun, 26 Dec 2021 17:04:28 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1640556268; bh=hr6u38wGSnC2drEmugKGo2fDppfuLHia3hd7ZqBrhyE=; h=From:To:Subject:Reply-To:Date:From; b=Q+g2EsFEcUAkZ0wAl6lV0fQOvS+AYOXBX7TM7ahXNr4tE21XV+ohkUIg6pENzdkCZ yggkU7VIlwRe9I/KlYccjxKC6spZcNxMiw70tUb5kM+BJU002T6dFEjD97zWpAvQ+X LocgrbCJJda16ysLFYLxay9ayP/kuPnfN5B71K96VNtJmfqrh6AkmCxJAiukI6NO9c fW//dT4Urm2tKkD8wGAcWhgi947Sb/15iJ3dC2ycLuLgCy9eY0d/UkeAiGRvhurbn6 aWoAdD476oo5i79Y70ES0E51Sj+5jz87vjA+iDowTbzhUF0wudOI0jZNq+2MlBRpId kIVU17lQyPdaA== Original-Received: from ceviche (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BE5E512034A; Sun, 26 Dec 2021 17:04:27 -0500 (EST) 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, SPF_PASS=-0.001 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:283363 Archived-At: Hi, As the year is getting near its end, I figure it's a good time to open a competition to choose a name for the thingy I've been playing with in `scratch/fcr`. 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. So I'm asking here for suggestions of a better name. Names that are technically "acceptable" but aren't very good: - propertized functions (since the slots can also be called properties). - translucent functions (since you can extract information from FCRs without having to call them, so they're less opaque). - categorized functions (since "category" is similar to "type"). - functions with slots. - record-like functions. - Monomaniac objects (since they're a bit like OO-style objects but limited to have only exactly one method). A good name would ideally come with a fun abbreviation. Feel free to send me your ideas, Stefan