LOCAL s: SET OF GENERIC: type_elem := [];END_LOCAL;REPEAT i := 1 TO SIZEOF(l); s := s + l[i];END_REPEAT;RETURN(s);