[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OFFTOPIC] Re: Appending lists
From: |
Stefan Monnier |
Subject: |
[OFFTOPIC] Re: Appending lists |
Date: |
Thu, 17 Jun 2021 08:41:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
tomas@tuxteam.de [2021-06-17 09:54:33] wrote:
> On Thu, Jun 17, 2021 at 01:49:21AM +0200, Emanuel Berg via Users list for
> the GNU Emacs text editor wrote:
>> Drew Adams wrote:
>>
>> >> What's a "deep copy"?
>
> [...]
>
>> deep copy = actual copy
>>
>> shallow copy = copy of references?
>
> Assignment = copy at depth 0
> Shallow copy = copy at depth 1
> ...
> 42 copy = copy at depth 42
> ...
> Deep copy = copy at depth infinite
In the wonderful world of Haskell, of course, we have
assignment is not allowed
copy at depth 0 == copy at depth N == deep copy == no-op
-- Stefan
- Re: Appending lists, (continued)
- Re: Appending lists, Emanuel Berg, 2021/06/16
- Re: Appending lists, Emanuel Berg, 2021/06/16
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/16
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/16
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/16
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/16
- Re: [External] : Re: Appending lists, tomas, 2021/06/17
- [OFFTOPIC] Re: Appending lists,
Stefan Monnier <=
- Re: [OFFTOPIC] Re: Appending lists, tomas, 2021/06/17
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/18
Re: Appending lists, Pierpaolo Bernardi, 2021/06/14
Re: Appending lists, Drew Adams, 2021/06/16