def gJoin(gl1, gl2):
    """Return gl1+gl2, i.e [gl1[0],...,gl1[n],gl2[0],...]
    
    Apparently only useful when gl1 is finite.
    
    """
    for x in gl1:
        yield x
    for x in gl2:
        yield x
Return gl1+gl2, i.e [gl1[0],...,gl1[n],gl2[0],...]
    
    Apparently only useful when gl1 is finite.
    
    
recipes/Python/170995_Manipulating_infinite_lists_implemented/recipe-170995.py