On Sun, Aug 06, 2023 at 01:37:42PM +0800, jacktby jacktby wrote: > > I need to build a new datatype. It can contains different datatypes, like > ‘(1,’a’,2.0)’,it’s a (interger,string,float) tuple type
Is there any reason why you can't simply rely on the record datatype? > and Then I need to > add operator for it. How should I do? If using record datatype you would only need to add a new operator.