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
Which copy function should I overload?
General Usage
copy
,
deepcopy
9
336
June 5, 2025
Shallow copy of an arbitrary mutable object
New to Julia
copy
1
319
May 16, 2022
When should I define my own `deepcopy` and `copy` functions for types, if ever?
New to Julia
question
,
deepcopy
10
382
December 4, 2024
In place copying and duplication
General Usage
5
1259
August 25, 2020
Copy of missing
General Usage
2
280
May 5, 2020