Julia Programming Language
Why can I `deepcopy(nothing)` but not `copy(nothing)`?
General Usage
copy
,
deepcopy
stevengj
April 2, 2024, 7:20pm
3
See previous discussion of
copy
for immutable objects:
Coordinating community efforts to enrich function docs - #8 by johnmyleswhite
copy not implemented for String · Issue #31995 · JuliaLang/julia · GitHub
Define copy for immutable values · Issue #45143 · JuliaLang/julia · GitHub
7 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
copy -> shallowcopy and deepcopy -> copy ?
Internals & Design
6
1397
November 29, 2017
Shallow copy of an arbitrary mutable object
New to Julia
copy
1
308
May 16, 2022
How exactly is deepcopy defined?
General Usage
deepcopy
12
1960
December 4, 2024
In place copying and duplication
General Usage
5
1197
August 25, 2020
Deepcopy dangers and drawbacks for nested data structures
General Usage
deepcopy
9
354
March 24, 2024