def __iter__(self):
        yield self.car
        try:
            iterator = (i for i in self.cdr)
        except __HOLE__:
            if self.cdr is not None:
                yield self.cdr
                raise TypeError("Iteration on malformed cons")
        else:
            for i in iterator:
                yield i
dataset/ETHPy150Open hylang/hy/hy/models/cons.py/HyCons.__iter__