def weave(composer):
    '''
    Basic layout for a decorator that composes functions hold independently
    in a Composer object. 
    '''
    def wrap(f):        
        def weaving(*args, **kwd):
            g = f
            for h in composer.callables:                
                g = h(g)            
            return g(*args, **kwd)
        weaving.__name__ = f.__name__            
        return weaving    
    return wrap

    Basic layout for a decorator that composes functions hold independently
    in a Composer object. 
    
recipes/Python/528929_Dynamic/recipe-528929.py