opened
JeffBezanson
username_0
This allows the core NamedTuple constructor to be defined without generated functions.
With a bit of work in the front end it will also allow splatting inside `new` in general, which is kind of a neat feature.

Unfortunately this does not yet do much for named tuples of Unions, but it's heading in the right direction.
RFC: add `splatnew` form; like `new` but accepts a tuple
issue
created
Keno
username_1
You'll want to teach SROA about this also
comment
created
JeffBezanson
username_0
I hoped it would be enough to inline this to a normal `:new` expression when the length is known, and otherwise just let it be slow. Is there something else I should do more specifically?
comment
created
Keno
username_1
Yeah, I guess that's ok for now. There's fancier things one could do of course, but maybe that's future work.
comment