def lazy_list_handle(tokens):
    """Process lazy lists."""
    if len(tokens) == 0:
        return "_coconut.iter(())"
    else:
        return (
            "(%s() for %s in (" % (func_var, func_var)
            + "lambda: " + ", lambda: ".join(tokens) + ("," if len(tokens) == 1 else "") + "))"
        )
def lazy_list_handle ( tokens ) : if len ( tokens ) == 0 : return "_coconut.iter(())" else : return ( "(%s() for %s in (" % ( func_var , func_var ) + "lambda: " + ", lambda: " . join ( tokens ) + ( "," if len ( tokens ) == 1 else "" ) + "))" )
Process lazy lists.