Syntax sugar for composite type decomposition?

58 views
Skip to first unread message

FANG Colin

unread,
Nov 16, 2016, 8:01:32 AM11/16/16
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 AM11/16/16
to julia-users
Macro seems to have answered this in a different thread.... 

Mauro

unread,
Nov 16, 2016, 8:07:37 AM11/16/16
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 AM11/16/16
to julia-users
Reply all
Reply to author
Forward
0 new messages