From: "Alfred M. Szmidt" <ams@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: rpluim@gmail.com, rudolf@adamkovic.org, garklein97@gmail.com,
thievol@posteo.net, emacs-devel@gnu.org
Subject: Re: [External] : Re: Elisp threading macros
Date: Sun, 01 Sep 2024 12:43:06 -0400 [thread overview]
Message-ID: <E1sknfO-0007VD-3h@fencepost.gnu.org> (raw)
In-Reply-To: <DS7PR10MB523298BF73A3664DB7229769F3972@DS7PR10MB5232.namprd10.prod.outlook.com> (message from Drew Adams on Fri, 30 Aug 2024 17:15:23 +0000)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
Could different chars have been used than
c, a, d, and r? Of course. The c and r
aren't needed, and we could have used f for
first and r for rest, or h for head and
t for tails, or | for car and . for cdr, or
- for car and @ for cdr:
cadaar = frff = hthh = |.|| = -@--
caar = ff = hh = || = --
caaar = fff = hhh = ||| = ---
caddar = frrf = htth = |..| = -@@-
cdadar = rfrf = thth = .|.| = @-@-
cdddar = rrrf = ttth = ...| = @@@-
caddr = frr = htt = |.. = -@@
How do you pronounce frff? .|.|? or @@@-?
One thing that car, cadr, cdr, cdar .. have going for them is that
they are (semi-)words, with pronounciation rules. No clue how to
pronounce -some-do-hickey-@-$-> ... which is immensly useful when
explaning thing, it is much easier to say kə.ˈdɑɹ (CDAR) of a list
then 'the rest of the first' .. or whatever it would become.
next prev parent reply other threads:[~2024-09-01 16:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 14:08 Elisp threading macros Garklein
2024-08-28 15:51 ` Robert Pluim
2024-08-28 16:42 ` Visuwesh
2024-08-28 17:13 ` Henrik Kjerringvåg
2024-08-28 15:55 ` Eli Zaretskii
2024-08-28 18:23 ` Basil L. Contovounesios
2024-08-31 12:50 ` Augusto Stoffel
2024-08-28 18:05 ` Philip Kaludercic
2024-08-28 19:43 ` Garklein
2024-08-28 19:54 ` Philip Kaludercic
2024-08-29 4:45 ` tomas
2024-08-30 7:30 ` Joost Kremers
2024-08-29 21:19 ` Sean Whitton
2024-08-29 21:46 ` Philip Kaludercic
2024-08-28 18:29 ` Thierry Volpiatto
2024-08-28 19:35 ` Garklein
2024-08-30 12:26 ` Rudolf Adamkovič
2024-08-30 13:12 ` Robert Pluim
2024-08-30 17:15 ` [External] : " Drew Adams
2024-09-01 16:43 ` Alfred M. Szmidt [this message]
2024-09-01 21:02 ` Drew Adams
2024-08-29 0:48 ` Po Lu
2024-08-29 5:19 ` Alfred M. Szmidt
2024-08-30 0:57 ` Garklein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1sknfO-0007VD-3h@fencepost.gnu.org \
--to=ams@gnu.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=garklein97@gmail.com \
--cc=rpluim@gmail.com \
--cc=rudolf@adamkovic.org \
--cc=thievol@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).