Re: Writing HG LISP in Python, kind of

Liste des GroupesRevenir à cl lisp 
Sujet : Re: Writing HG LISP in Python, kind of
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : comp.lang.lisp
Date : 10. Jun 2025, 08:53:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1028o9h$14c2i$1@dont-email.me>
References : 1 2 3
User-Agent : XanaNews/1.18.1.6
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


Date Sujet#  Auteur
12 Apr 25 * Writing HG LISP in Python, kind of5Stefan Ram
13 Apr 25 +- Re: Writing HG LISP in Python, kind of1Lawrence D'Oliveiro
14 Apr 25 `* Re: Writing HG LISP in Python, kind of3Stefan Ram
15 Apr 25  `* Re: Writing HG LISP in Python, kind of2Lawrence D'Oliveiro
10 Jun 25   `- Re: Writing HG LISP in Python, kind of1B. Pym

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal