Repository navigation
Replies: 1 comment
|
That's some nice syntax. 😄 If 1.6 is declared LTS, then we should only do this if |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I often start functions by extracting fields from, e.g. a
LinearMixedModelstruct and Julia v1.7 introduces the destructuring syntax(; a, b) = xcan now be used to destructure propertiesaandbofx.This syntax is equivalent to
a = getproperty(x, :a); b = getproperty(x, :b)([#39285]).All reactions