def Unify(l):
  """Removes duplicate elements from l, keeping the first element."""
  seen = {}
  return [seen.setdefault(e, e) for e in l if e not in seen]
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/input.py/Unify/original