def build_list_type_validator(item_validator):
    """Return a function which validates that the value is a list of items
    which are validated using item_validator.
    """
    def validate_list_of_type(value):
        return [item_validator(item) for item in validate_list(value)]
    return validate_list_of_type
def build_list_type_validator ( item_validator ) : def validate_list_of_type ( value ) : return [ item_validator ( item ) for item in validate_list ( value ) ] return validate_list_of_type
Return a function which validates that the value is a list of items
    which are validated using item_validator.