def xform_list(item_xform):
    """
    Return a function that transforms a list of items by calling
    item_xform(_) on each element _ in the list.
    """

    def xform(item_list):
        return [item_xform(_) for _ in item_list]

    return xform