Re: on call by reference

Liste des GroupesRevenir à cl scheme 
Sujet : Re: on call by reference
De : alicetrillianosako (at) *nospam* gmail.com (Schol-R-LEA)
Groupes : comp.lang.scheme
Date : 21. Mar 2024, 02:59:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utg0ok$1qefr$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
Alan Bawden:
Schol-R-LEA <alicetrillianosako@gmail.com> writes:
     Johanne Fairchild:
    > I tried to answer whether Scheme was call-by-reference and I did not
    > think the definition of call-by-reference seen on the web is precise
    > enough.
     Scheme is call-by-value; arguments to procedures are copied into the
    parameters in the procedure's environment. As I understand it, even when
    the argument is a reference - such as with a list - a full copy of the
    argument is made local to the procedure.
 If by "a full copy" you mean that a list passed to a procedure will be
copied, then you are mistaken.
Ah, thank you for the correction.

Date Sujet#  Auteur
19 Mar 24 * on call by reference19Johanne Fairchild
20 Mar 24 +- Re: on call by reference1Lawrence D'Oliveiro
20 Mar 24 +* Re: on call by reference3Dmitri Volkov
20 Mar 24 i+- Re: on call by reference1Lawrence D'Oliveiro
20 Mar 24 i`- Re: on call by reference1Schol-R-LEA
20 Mar 24 +* Re: on call by reference4Alan Bawden
20 Mar 24 i`* Re: on call by reference3Johanne Fairchild
21 Mar 24 i `* Re: on call by reference2Alan Bawden
21 Mar 24 i  `- Re: on call by reference1Johanne Fairchild
20 Mar 24 `* Re: on call by reference10Schol-R-LEA
20 Mar 24  +* Re: on call by reference5Schol-R-LEA
21 Mar 24  i`* Re: on call by reference4Chris Vine
21 Mar 24  i `* Re: on call by reference3Lawrence D'Oliveiro
22 Mar 24  i  `* Re: on call by reference2Chris Vine
22 Mar 24  i   `- Re: on call by reference1Lawrence D'Oliveiro
21 Mar 24  +* Re: on call by reference2Alan Bawden
21 Mar 24  i`- Re: on call by reference1Schol-R-LEA
21 Mar 24  `* Re: on call by reference2Lawrence D'Oliveiro
21 Mar 24   `- Re: on call by reference1Schol-R-LEA

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal