(typ super.Type, bytes scode.Bytes)
| 85 | } |
| 86 | |
| 87 | func (u *unblend) arrayOrSet(typ super.Type, bytes scode.Bytes) []super.Value { |
| 88 | var elems []super.Value |
| 89 | for it := bytes.Iter(); !it.Done(); { |
| 90 | elems = append(elems, u.eval(super.NewValue(typ, it.Next()))) |
| 91 | } |
| 92 | return elems |
| 93 | } |
| 94 | |
| 95 | func (u *unblend) unify(elems []super.Value) (super.Type, scode.Bytes) { |
| 96 | seen := make(map[super.Type]struct{}) |