From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Noob question: why sequences, lists in particular start at index
0 in Elisp?
Date: Sun, 8 Nov 2020 16:42:28 +0100
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="14823"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Emacs developers
To: Arthur Miller
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 08 16:49:28 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 1kbmwa-0003jA-FO
for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 16:49:28 +0100
Original-Received: from localhost ([::1]:35006 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1kbmwZ-00059S-I0
for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 10:49:27 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60886)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1kbmq3-0002Bp-7x
for emacs-devel@gnu.org; Sun, 08 Nov 2020 10:42:43 -0500
Original-Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:41566)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1kbmq1-000641-8t
for emacs-devel@gnu.org; Sun, 08 Nov 2020 10:42:42 -0500
Original-Received: by mail-ot1-x335.google.com with SMTP id n15so6198898otl.8
for ; Sun, 08 Nov 2020 07:42:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=jzqTuE+vND0kKwTxVeQBbeogPhcyT+YZmbC21hgNamA=;
b=WtlUDD9yfU8+CYel9eIast9GPLi4KtQXm0cVQ+tpOe9jtDwEnhlIqqePF5r9BPxBnN
RlBzxgM20lHEy90b/AdYC6Xqr43SZ5Nrm8Vmme+lk88WHzgdmjxv59lFsq0KdvF8YkNn
J9SM3viDrxVisSx+JgPpzqME7VDNwTXx4XRYPAnixw06jPUjxZoZHeIGZ/XNzZ0ajnuv
Q4RbfaaciIJwn67Sn3yUTib+5jOOJbw00dVMGbddN6H1lnkE0Th19sz96F/pFaxlRHik
nipFGsExFlIJtjgMcRLiKNZNtFCoG0urJl4O9nEzua77InE8HpGyRIJ2j0vbZ4fTrlki
F+FQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=jzqTuE+vND0kKwTxVeQBbeogPhcyT+YZmbC21hgNamA=;
b=oGi2s6lIUYBCxIEjaBnFGoxfrpRb7RkB+IEl4qOimX1LgxDY+aUDpINJXSfThOI/Ma
geGI8MBHSnFdxBMnE6o0xVdBcBHJN8DWNTQbU3g4u+80A5RWTm9bbGw0Zms8Y/eshJbt
SAJEEI/bbucOjkMWz4jzEhsljGEFFPfFenz3X0JLiUJB71UYmtM5aY83Rh55blzLKj7O
uDSr7NkDbM8Vq+z93XVEnRnzGk/LtAjsnyt0VjUp5VCnerJaLa088LExQ2C8Pd6t7+DR
phlSk6xY55bU8WoS/UICejJkpzCgzT5bZ4KVT3UcbC46JiKrFIE5SnMCF545u6QRjn2X
5URg==
X-Gm-Message-State: AOAM532W4JwyTmnVtJ0xKqoRj4ZDScwEShKg1pO0bdFzhSQQCHmzBohg
TsHlVvr6FuXhgD2admq2vqzel52LLrZgIdPaUq/u2k8V0/g=
X-Google-Smtp-Source: ABdhPJzgoOLqd5WwaNA3ki8+/ybhKAsK9+nJKXw5dl4xKilhhdqQWeTDIKQh/TGrgcnkTSJCiKoo9viRazN3t8GUiMc=
X-Received: by 2002:a9d:12ac:: with SMTP id g41mr6924061otg.149.1604850159699;
Sun, 08 Nov 2020 07:42:39 -0800 (PST)
In-Reply-To:
Received-SPF: pass client-ip=2607:f8b0:4864:20::335;
envelope-from=p.stephani2@gmail.com; helo=mail-ot1-x335.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: -9
X-Spam_score: -1.0
X-Spam_bar: -
X-Spam_report: (-1.0 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URI_DOTEDU=0.888 autolearn=no 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:258907
Archived-At:
Am So., 8. Nov. 2020 um 14:33 Uhr schrieb Arthur Miller
:
>
> I understand why they do so in C; but why in Elisp?
>
> Just a curious question.
>
See https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
for a classic language-independent argument.