'Rersively apply ``self`` to all elements of ``seq``.'

def map(self, seq):

    result = []
    for elt in seq:
        if isinstance(elt, list):
            result.append(self.map(elt))
        else:
            result.append(self(elt))
    return result
