Replies: 1 comment
-
That's some nice syntax. 😄 If 1.6 is declared LTS, then we should only do this if |
Beta Was this translation helpful? Give feedback.
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
LinearMixedModel
struct and Julia v1.7 introduces the destructuring syntax(; a, b) = x
can now be used to destructure propertiesa
andb
ofx
.This syntax is equivalent to
a = getproperty(x, :a); b = getproperty(x, :b)
([#39285]).Beta Was this translation helpful? Give feedback.
All reactions