()
| 93 | } |
| 94 | |
| 95 | func (t Tuple) String() string { |
| 96 | var strs []string |
| 97 | for _, item := range t { |
| 98 | strs = append(strs, item.String()) |
| 99 | } |
| 100 | return fmt.Sprintf("{%s}", strings.Join(strs, ", ")) |
| 101 | } |
| 102 | |
| 103 | // Encode serializes an arbitrary data type in a program, |
| 104 | // which, when executed, produces that data. |