StructTypes.jl icon indicating copy to clipboard operation
StructTypes.jl copied to clipboard

DataType is already a thing

Open oxinabox opened this issue 5 years ago • 1 comments

typeof(Int) == DataType As does basically all other types of types, with the exclusion of unions and unionalls.

While we can have multiple things using same name because of shadowing, I would find a confusing to say this name used for anything other than the original definition

oxinabox avatar Feb 16 '20 21:02 oxinabox

just to say I was confused by this recently. I think RecordType would be a better name, like a record in a database, since it has fields which carry data.

ericphanson avatar Jun 25 '24 09:06 ericphanson