def typed_list(conversion_func):
 return (lambda setting: [conversion_func(StringConverter(elem)) for elem in setting])

def typed_list ( conversion_func ) : return ( lambda setting : [ conversion_func ( StringConverter ( elem ) ) for elem in setting ] )
creates a function that converts a setting into a list of elements each converted with the given conversion function .