elist/elist.py
def mapfv(ol,map_func_args,*args,**kwargs):
    '''
        #mapfv            共享相同的o,i不作为map_func参数
        #                 share common other_args,NOT take value as a param for map_func
        #map_func         diff_func(value,*common_args)
    '''
    args = list(args)
    lngth = args.__len__()
    if(lngth == 0):
        diff_funcs_arr = kwargs['map_funcs']
    else:
        diff_funcs_arr = args[0]
    lngth = ol.__len__()
    rslt = []
    for i in range(0,lngth):
        index = i
        value = ol[i]
        func = diff_funcs_arr[i]
        args = map_func_args
        ele = func(value,*args)
        rslt.append(ele)
    return(rslt)
def mapfv(ol,map_func_args,*args,**kwargs):
    '''
        #mapfv            共享相同的o,i不作为map_func参数
        #                 share common other_args,NOT take value as a param for map_func
        #map_func         diff_func(value,*common_args)
    '''
    args = list(args)
    lngth = args.__len__()
    if(lngth == 0):
        diff_funcs_arr = kwargs['map_funcs']
    else:
        diff_funcs_arr = args[0]
    lngth = ol.__len__()
    rslt = []
    for i in range(0,lngth):
        index = i
        value = ol[i]
        func = diff_funcs_arr[i]
        args = map_func_args
        ele = func(value,*args)
        rslt.append(ele)
    return(rslt)
#mapfv            共享相同的o,i不作为map_func参数
        #                 share common other_args,NOT take value as a param for map_func
        #map_func         diff_func(value,*common_args)