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
In place copying and duplication
General Usage
5
1275
August 25, 2020
Copy of missing
General Usage
2
281
May 5, 2020
Shallow copy of an arbitrary mutable object
New to Julia
copy
1
320
May 16, 2022
copy -> shallowcopy and deepcopy -> copy ?
Internals & Design
6
1416
November 29, 2017
How to copy all fields without changing the referece?
General Usage
8
1143
December 15, 2016