NamedTuple constructor syntax

There’s an ambiguity with the potential varargs namedtuple constructor: what should NamedTuple{(:a,)}((123,)) return? Is it (a=123,) or (a=(123,),)?

3 Likes