func (c CodeSet) Union(otherSet CodeSet) CodeSet {
	union := CodeSet{}
	for _, code := range c {
		if !union.Has(code) {
			union = append(union, code)
		}
	}
	for _, code := range otherSet {
		if !union.Has(code) {
			union = append(union, code)
		}
	}
	return union
}
// add returns a new set with all Code from 2 sets
add returns a new set with all Code from 2 sets
// add returns a new set with all Code from 2 sets
func (c CodeSet) Union(otherSet CodeSet) CodeSet {
	union := CodeSet{}
	for _, code := range c {
		if !union.Has(code) {
			union = append(union, code)
		}
	}
	for _, code := range otherSet {
		if !union.Has(code) {
			union = append(union, code)
		}
	}
	return union
}
func ( c CodeSet ) Union ( otherSet CodeSet ) CodeSet { union := CodeSet { } for _ , code := range c { if ! union . Has ( code ) { union = append ( union , code ) } } for _ , code := range otherSet { if ! union . Has ( code ) { union = append ( union , code ) } } return union }
add returns a new set with all Code from 2 sets
add returns a new set with all Code from 2 sets