Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support shallow copy() of the canonical model structures #19

Open
exaexa opened this issue Apr 17, 2024 · 2 comments
Open

support shallow copy() of the canonical model structures #19

exaexa opened this issue Apr 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@exaexa
Copy link
Member

exaexa commented Apr 17, 2024

....might be useful at some point to avoid sharing surprises

@exaexa exaexa added the enhancement New feature or request label Apr 17, 2024
@exaexa
Copy link
Member Author

exaexa commented Jun 9, 2024

...we might do "patchy" constructors instead, such as:

a = Something()
b = Something(a, somefield=123)

explicit copy() is a 🫓

@exaexa
Copy link
Member Author

exaexa commented Aug 20, 2024

@stelmo would the same trick with Accessors.jl work here as we did for CTs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant