Deutsch   English   Français   Italiano  
<1028o9h$14c2i$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: "B. Pym" <Nobody447095@here-nor-there.org>
Newsgroups: comp.lang.lisp
Subject: Re: Writing HG LISP in Python, kind of
Date: Tue, 10 Jun 2025 07:53:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <1028o9h$14c2i$1@dont-email.me>
References: <Python-20250412150133@ram.dialup.fu-berlin.de> <code-20250414105007@ram.dialup.fu-berlin.de> <vtk6iu$2cj23$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Date: Tue, 10 Jun 2025 09:53:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="542707cca3ab7ce48e6774ffdf7c229b";
	logging-data="1192018"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19HapYdsNQG3zIdZOwpoFvq"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:WPrvNAUL0W9k1sizzaDKMv0M5j0=

Lawrence D'Oliveiro wrote:

> On 14 Apr 2025 09:56:26 GMT, Stefan Ram wrote:
> 
> > Lisp's cons cells are conceptual, not just syntax.
> 
> Is that why Lisp needs the separate concept of multi-value return, instead 
> of doing simple destructuring assignment as both Python and JavaScript are 
> able to do?

Gauche Scheme

gosh> (apply (^(a b c) (list c b a)) '(3 4 5))
(5 4 3)

gosh> (define three (values 3 4 5))
three
gosh> three
3