From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: lists, plain conses and length Date: Fri, 4 Sep 2020 07:19:05 -0700 Message-ID: <24402.19673.643361.724966@retriever.mtv.corp.google.com> References: <20200904022334.791EBC2177B@raman-glaptop.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25556"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 04 16:19:41 2020 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 1kECZ3-0006ZJ-Ej for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Sep 2020 16:19:41 +0200 Original-Received: from localhost ([::1]:53654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kECZ2-0001sZ-Ha for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Sep 2020 10:19:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kECYZ-0001N3-Vu for emacs-devel@gnu.org; Fri, 04 Sep 2020 10:19:11 -0400 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:42126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kECYX-0002UC-ST for emacs-devel@gnu.org; Fri, 04 Sep 2020 10:19:11 -0400 Original-Received: by mail-pf1-x429.google.com with SMTP id 17so4674930pfw.9 for ; Fri, 04 Sep 2020 07:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=twm+EjIjM2rBUmTzta0BnrcyhLKExUGAFXOF7jgapKQ=; b=YYQqwxS7sSHLJ3OFzREDTXmrFf5IU9wPe3eL7OdO6C6qc9XD9R3qKEjQzboujK/1ss UXFw06oMwJfpvkmsvtxHPidB3vUzbwbWoqsIP78y41OVhrNNYqq6kZt59xaEpLkqQ2vw IeOgY7ReTRJQjhR+qB5QxMtCMvcWah5cBFIuoGorMTrS7aVVX4/N5JsfCEbKf3aNoSPs yrdvRumuPMs6KmeeWpIxs6gYe5CijGBf0hXF3f3KO0+iZlu5BmuaBJsUMckDXz0MrbKQ Hv5Nwvd2QOyigPGV7N34ZGFEoP/lT1ZcBqCY3lZE6R5Snv1QeVlephY/0htl3BCndLF2 GVZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=twm+EjIjM2rBUmTzta0BnrcyhLKExUGAFXOF7jgapKQ=; b=Cl5powB3h/bcl61p5koWxqYTSHRwLWoyvVLod2rku9VUesDQ1seZnRX6RjfpuYG7Ij GRlZD0GxdlukWBR+GIzbLtWX84gISjXNXMsYa8KfeJiUyGTOemnnhXnmaRzY4SKxbFHl N1KUhu4vdQu8a9ItpiaB8kYc/xllm2kmOgGKQVu7fj9QR4mFmfP0dR/CHJae1mFAdhdN XC3pupCy1DETceL52pfbDJ18Lf/D8oQLU0k5plt1PVNZ5Y+l/BWKjHzSGUtUPufTF8v9 eyNtZFvUilJ72zkt7aeK9/0e+AEaoF7/FWCzWFRe8inkPBpYVRR72CasMEgzefjdb7BK Yp7w== X-Gm-Message-State: AOAM532y9U3T7b6SGc6a9vFt0mGwUtqRANBrGv1a5tgCRbVbji489FWX mpC18uO2VzjXQx09ZOHZcX5omiGJje9XEA== X-Google-Smtp-Source: ABdhPJyBAwUq/XBJDsgcjiOxNYLlTorwRGxbyELyYZ9O5UOZa8Ri9LvtuueCuQPeud6+aJ5/sLfSuA== X-Received: by 2002:aa7:96b0:: with SMTP id g16mr8771932pfk.46.1599229147434; Fri, 04 Sep 2020 07:19:07 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:7220:84ff:fe0f:a150]) by smtp.gmail.com with ESMTPSA id q18sm2625407pfg.158.2020.09.04.07.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 07:19:06 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id A68A818003A0; Fri, 4 Sep 2020 07:19:05 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=raman@google.com; helo=mail-pf1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -181 X-Spam_score: -18.2 X-Spam_bar: ------------------ X-Spam_report: (-18.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.107, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254524 Archived-At: In the spirit of the US election campaign, if it isn't shown to be true, it must be false -- if it's shown to be false, it must be fake .= ..Stefan Monnier writes: > > Q: how does one distinguish a cons from a list. >=20 > A: check `null` >=20 > (tongue in cheek) >=20 >=20 > Stefan >=20 >=20 > PS: Hint: `(listp X)` is the same as `(or (consp X) (null X))` --=20 =E2=99=89Id: kg:/m/0285kf1 =F0=9F=A6=AE=E2=99=89 -- ♉Id: kg:/m/0285kf1 🦮♉