<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def uniq(objs):
 """Eliminates duplicated elements."""

    done = set()
    for obj in objs:
        if obj in done:
            continue
        done.add(obj)
        yield obj
    return