@scope.define_pure
def uniq(lst):
    s = set()
    rval = []
    for l in lst:
        if id(l) not in s:
            s.add(id(l))
            rval.append(l)
    return rval
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/vectorize.py/uniq/original