Groups
Sign in
Groups
julia-users
Conversations
About
Send feedback
Help
Syntax sugar for composite type decomposition?
58 views
Skip to first unread message
FANG Colin
unread,
Nov 16, 2016, 8:01:32 AM
11/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to julia-users
Do we have a decomposition syntax or macro that simplifies this
a = x.a
b = x.b
c = x.c
...
FANG Colin
unread,
Nov 16, 2016, 8:02:44 AM
11/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to julia-users
Macro seems to have answered this in a different thread....
https://github.com/mauro3/Parameters.jl
Mauro
unread,
Nov 16, 2016, 8:07:37 AM
11/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to julia...@googlegroups.com
On Wed, 2016-11-16 at 14:02, FANG Colin <
coli...@gmail.com
> wrote:
> Macro seems to have answered this in a different thread....
>
https://github.com/mauro3/Parameters.jl
lol: Yes that package contains "macros" but my name is Mauro :-)
Tom Breloff
unread,
Nov 16, 2016, 9:08:19 AM
11/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to julia-users
https://github.com/JuliaML/StochasticOptimization.jl/blob/master/src/utils.jl#L2-L16
Don't use it though. :)
Reply all
Reply to author
Forward
0 new messages