From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: Lisp anime video Date: Mon, 06 Sep 2021 07:08:38 +0200 Message-ID: References: <20210829074031.GB18750@tuxteam.de> <871r6c8ybx.fsf@zoho.eu> <87v93oy0ny.fsf@posteo.net> <86lf4ck43a.fsf@protonmail.com> <87lf4czc8e.fsf@zoho.eu> <867dfwe5n1.fsf@protonmail.com> <87h7f0x85k.fsf@zoho.eu> <878s0byj4d.fsf@zoho.eu> <20210905072929.GB4268@tuxteam.de> <87a6krm66r.fsf@zoho.eu> <20210905150506.GB19479@tuxteam.de> <874kayloqw.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22143"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 06 07:09:41 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mN6t2-0005WW-66 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 07:09:41 +0200 Original-Received: from localhost ([::1]:33122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN6t0-0006J9-Rj for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 01:09:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN6s8-0006Ik-0L for help-gnu-emacs@gnu.org; Mon, 06 Sep 2021 01:08:44 -0400 Original-Received: from mail-am7eur06olkn2081.outbound.protection.outlook.com ([40.92.16.81]:31393 helo=EUR06-AM7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN6s6-00065a-5g for help-gnu-emacs@gnu.org; Mon, 06 Sep 2021 01:08:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kWGfaNhjAF/J6Z5lRboUGz8zJPNG0KJAD39ym0JZGs6Vzw03V6ySmwUFEWH4bFzOf0UPkUZ/MVrhiRAzfFoM/zFDkawv8ihxOoOS3N+uNhxpGAKmd9WuTapJCHOlYgw4J7CL4Hf96Ear1jCqlsshFuRJXfzqlI/Lri3MsvNkus1IgA5sc4sxiBWssKZlqVF5Kpqi18pVUrnUzJlhpbrLZEk4h9HPMFISINMbKhfsoJwS+wlDY7flwfp/SRqipwvdN/tNGYCLFIpeAdjXdxvvfsjR41GKIp/Kk3c3j9rFA4BBhdA4PHW49aomVlKZS9Ne61EFolAetZA6yYIDKaczug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=V0YCoeao5Te3EzGbtl5fE0aiUKJ23jTQUpfTvbUjXP4=; b=FQT/Qg8znnHz0EQFMDCG9a6bzaIz4/US09bfrMbu+HSvmJGPzXcBfKIlsw9Ra5GSRL8qUkshgZ9Rx5vrjXFFbVdb6RSJ33lQ2LeyIYTNdOvOZBHfQI48g5QYJ5wqMi2pbwCagvuikc88wHuYCEry+IUi/s1k1pN6QC0QW5mQFlVMRuohS+JUwQJYfzTbzo4wrtLop7JrtHHlLzh/g8ba+tAFDHtEVjuW1UukAWavaeDk7V90ihaTBblSeF/c+GjSYlMfBQue4YGtiaqTE7UUCjqeyG3a4J5NR1b5yp2C/Q40YIjQhNM0pFIVVr2XwEercn8NEmZld6B0F/XC2CgaGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V0YCoeao5Te3EzGbtl5fE0aiUKJ23jTQUpfTvbUjXP4=; b=YoBjiBoEP9SXxgpuv+1BewWT/TzWyvGeyUBWb17E80+ORr3GE+iHmpzFF2s3vh4NxTRwcxSh05FEH1GontS6v7Bm9+Rlncu84QDgfq/a7wMmnjkyUKzdvI755QmCO+IH7OyVU5iXCxEoKpx8Mq5+Dq4CMgjkwRDQNSlWsQVqF8rvN2FFNp36ii65+8A6hUlHuoAn52mk380G25jufjMzysZQb3wCy8xZ8kQQgUVKPv9dejp60n8mAQuQW+L03nejrWnDmommJ146BbcPJyxl9pSJe+PA5gEPOB6uKnhDU3OGhdBdVTN7qRFZkxSZSHBg4ivcOWatG2NMG7YXKcScBA== Original-Received: from AM7EUR06FT034.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::47) by AM7EUR06HT077.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::239) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Mon, 6 Sep 2021 05:08:39 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc36::50) by AM7EUR06FT034.mail.protection.outlook.com (2a01:111:e400:fc36::158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Mon, 6 Sep 2021 05:08:39 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:778D966138407AECC36D1AC35735C845CCAEABDE18E261A14C7FC21213071D89; UpperCasedChecksum:58E0B28D88EC5633BB1195D13BC5B70A5FD5DABD634CF677602DBC8EBCB164F9; SizeAsReceived:7722; Count:45 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc%8]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 05:08:39 +0000 In-Reply-To: <874kayloqw.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Sun, 05 Sep 2021 23:02:47 +0200") X-TMN: [WgB9x9wqedkcHbKG0fbwlmMd9yZAkiQ7] X-ClientProxiedBy: AS8PR05CA0006.eurprd05.prod.outlook.com (2603:10a6:20b:311::11) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87sfyiuw89.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AS8PR05CA0006.eurprd05.prod.outlook.com (2603:10a6:20b:311::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.23 via Frontend Transport; Mon, 6 Sep 2021 05:08:38 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 6dc6b789-18ad-4c13-85f3-08d970f4633f X-MS-TrafficTypeDiagnostic: AM7EUR06HT077: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mnzoczpIxS+WdPRiMopHb+UGBWgHnbirhuK7qN1Lw/ln1fi6pMu6jeB41/8y4PQT6diJdoqibXizYNaS6Y79LUs4SA8wJKMFSW7cX6m7cf554WlSrn+ar+iokqDhqWsl9c5CRxv1PL4tQnp93DbEnfatFWzSSIz4W6OR9rjJtb6WcqS2ODKRpVSvWtoBwl/sLMY2OwnuzSgh3/X7xBd6O8WbFPB+86pl10dLJTL95ubyhLpwtwtDZUTa35PlmHi6/5/0Nsy6Jwiv1gPBQxKokmVcNmni7le6Ii8K6mp0IZxB6qTyNWU3f0zk3kqUMiiBk8rUOaC69dhH53fZxkilqE8qrEkbuln+pJYaEt17+hWn73n6bTjtxpjGnCGQD9g2/QIJCUSmf1I/TfsyNCEE+VleH6cpAzv0yOGok6pyzrM6+NTD6rkEVJEbIfBOcFwy X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: O3UVsZm02q0wnkiICMkuCrf7ABcfqC/xLrFHgFjpqDA85TJjLdVmAQOoM8cVNb0RIz9CPufUqXT4Ex/aa8qpxlnSCiUiszBOO4cyi3LEt8QQ60Z0vsaLgtB2xOpDJ5KdfiArJ1csdWy+zYZMFS4xdg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dc6b789-18ad-4c13-85f3-08d970f4633f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2021 05:08:39.4311 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM7EUR06FT034.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT077 Received-SPF: pass client-ip=40.92.16.81; envelope-from=arthur.miller@live.com; helo=EUR06-AM7-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132914 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: > Arthur Miller wrote: > >> Indeed lists can be fun. I think it is fun that there is no >> explicit data structure called list in traditional lisps, it >> just a way to work with conses. > > Hm ... interesting ... > > There is no explicit _list data type_ in Elisp, > > (defvar num-list nil) ; nil > (setq num-list '(1 2 3)) ; (1 2 3) > (listp num-list) ; t > (type-of num-list) ; cons > > But there is an explicit _list function_, i.e., `list', that > returns a list, made up out of (car cdr) (or cons cells) > but nonetheless ... > > Does that mean there is an explicit list data structure > in Elisp? Or is it implicit? Cons is an explicit data structure, so is vector, hash table etc. Linked list is a bunch of nodes (conses) that form a list by data stored in them. But yes it is a diffuse line. I guess only truly explicit data in a CPU is a register. > Or is it just implicit in '(1 2 3)? > >> By the way, I found a nice little program to show cons >> structures (lists) and converted it to elisp. It is cool, >> looks like box drawings in early papers. > > Can it do the other thing around? It is left for you as an exercise to make it ;)