On Thursday, August 18, 2016 at 2:22:13 PM UTC-4, Michael Borregaard wrote: > > It'd be nice with a list of the methods a user-defined type would need to > define to be amenable to .() in an Array. >
In 0.6, once #16966 is ironed out, then you won't have to anything (as long as you want your type to be treated as a scalar, not as a container); user-defined types will just work with "dot calls". In 0.5, the dot calls are mainly for numeric types (because of the limitations of the "broadcast" function).