Bill Allombert on Wed, 13 Mar 2024 20:03:36 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Avoid using "listput()" if possible?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Avoid using "listput()" if possible?
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Wed, 13 Mar 2024 20:03:28 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1710356613; c=relaxed/relaxed; bh=Z8wV+rMX+01pWyym85K+aCj5sIGDhEbWghJbJB2YRMs=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=R0AR2IfDFkZJdKVnvMz+a6g5XgL78yCOgpb23V1Og0FiQzrQ3qiXLakbHcoR5HLdmlQfRDvAJQDDCblmCskwIGcEfR5aj3aSMkG4iYEzdIFCJhP5u/51GykkOCN8U0FRofj5kYjH/0n3O/ppqhJiC6wJKM1aCbnsxpjlxAdNCvVqk+nFtE7ximgjsKFD9e0fleQbtGoKNTtdv4mUU7/zE7EEHruFSfzkMZxyZTEVrU2muz6Tnh0t9UJixNtWn+uZXGc9Y37Tf/0BmbgH63tjE4+mdWDtpJNeqTO86TcVazjImKZ1t40nfAIBNG/j6Dz+tFqD3Zcp/T1hTg9/edAcgif3swANoZVthagsf1y0G7KlyqNlHPKkRr0BfPqP8unxVYKLyYcfUzht42IPqf+lRHvVy+v0sqkVzW2dTrwcxHdM6b9vGQHuSu9wX0yHh8AL/GfaY0QinOz5JCkfJAqLDnWF1ZxoZksPUc1XgOnZxyuBhiYD1UG0lEe7HiSDszAx+S21SzRTVc5WYPPBFwGzt76sCPl28kmi6m7c5B5AgDRdQtqPouYWcnVAsL0ADFFkDm/q+ROuZHezrOoYHWdGQURiuNWPZqT2seGsdsy1WDvqp5g1HE4+TWUzvcmJynJczltaUZoUdFxmkTVIrGwHInzCMsntmgippwaDbwg2Cyk=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1710356613; cv=none; b=xJoNKjvTP2gAYplPrDi0ud0Xzy5K8ZNPcSZcPh2/WkIwig4dNiilZZsVJPLIBAq2zXOla/7osz+6zSbkj6OtrGpBIKo+K8yUH8Cb6Dpfzy37GReyIAZ2okPSbmW8JwFb9KY90oYdbYKtC2epw2+gJO6ztFLaqhE7k/un7SeXivriCVojhp62RzxmV28FwoH4Pgn4WrsMcwJpl7M1l7sW4jMwZkT3g4Fknlzi53Zzhi6SAnYc76YMriuxYYAJhML4pRm/Zidjq9YIW324wHPkiLZeVJnLAozjNKRqwCg2u0PEvKumVd9+GnkXpxrwJU6qyygRYNICS7kO/KHnsfMRpxHQTY241KqyJuAJ5loALrOiFKl4QiqqTNTZBmJX+1kfUQdwAQFKr6p5XSW9LJavloPEsIesS3LpuXdmDu+5Kf2C4pdbPGfyDSJGq9n/YmBLWhq4tO4V3pHMwq7toRNCpVdATHZgBHN28MclN5ZVRzTsWqmHIqK+pJWmum7O7rL1hGYip8iD0q2bo88e+6rYvgqPEq1hslaje+7GJRfVE5o9L93OdE1EMJCkoPwn+BeWnmSVdRhPYYrj2Q0HAx/xQZUXtEk8L1bS8KFzLwIo7Ljx5hzZpSnhJIdzfbTsNmzKxm5H3NHCO5IWY2y1Qo3tuhQ4a0yfZdk5l2R2kHHyai4=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Wed, 13 Mar 2024 20:03:36 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1710356613; bh=Z8wV+rMX+01pWyym85K+aCj5sIGDhEbWghJbJB2YRMs=; h=Date:From:To:Subject:References:In-Reply-To:From; b=m3LRZWaS5o2+eUolXkM3C9tgW2IQxt6GKAnueARebBx5AB/D6dR32JQEwMReLklSl WvMWlzHNaGIQs0FyI5jgv+5iF3dE27+vrek7IWHK6xAshLdcNF1vN5mtyHU3RUyWrR p1lwdOHa/U/cN5hVfEi2iankPbmyM7YkMB+mwBQVUXy12V4cpys0oxivGcSioe4rym ShfUB3fxnZvnPZ9lFd1NKT1Sd9Yby29IX1//Bu6vPp2/5cHUmUeDjuGlqDnPMMGGxo hpRpIcCMbyjkDVkEm4gB7S8ct/qNfoEnWbhAsLau2lkvp5ugHy2POiGP8SzkFVNFJA sZpFmakwRJP5fUoaaUBAqbas56Dl8LVcPasGtcHv5mDR3fDtzRtUmXGOr+yNwmAtFx GLXcwmfPyx9zzSgWFxuOw2s0YMmO6sS/Qq0tFjaajiitDcfW1k5oReo1sRFOGIb/Hu 8Msv9xgjlfuGvmBPgTFxJh3Zarx7W102rubuRaC+4jFhEYVKCtUUijvEufgUimQ0P7 8LeixO/sQlUtDBOdbwEYuLJzUUNmPTc3cHbFzJ3lfM21oRRqHJSRoe4bJ1ZVOKu42T 55CPtmeAZnBw9dnheGb/z+M2+nXQoMRroLVBe3+/3ah2+NYqr+YxbBHWHKxTaiUGOR P68GNTVAIXpB1ELKCUbWph7Q=
- In-reply-to: <CAJkPp5PpYA-UcM-U0gYYdPyVBm_uoTr9ut7Z09tbktGPKRmp+w@mail.gmail.com>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <828080f4d966c56549c5ed0cea3be1cb@stamm-wilbrandt.de> <ZfDdr80RrotZU1tS@seventeen> <CAJkPp5PpYA-UcM-U0gYYdPyVBm_uoTr9ut7Z09tbktGPKRmp+w@mail.gmail.com>
On Wed, Mar 13, 2024 at 01:58:02PM -0400, Max Alekseyev wrote:
> Hi Bill,
>
> Why is this explicit specification for the object reference required for
> listput() ?
Because it modifies its argument.
> What happens if ~ is missed?
Currently, nothing happen for backward compatibility reasons...
> It looks like functions that don't modify the object (like
> mapget()) implicitly work with references, with no need to specify ~.
> Please confirm.
Correct. mapget does not modify its arguments so is not concerned.
All functions works with references, however most of them do not
modify their arguments.
Cheers,
Bill