Is there any way to tell Cython compiler that param is function. Something like
cpdef float calc_class_re(list data, func callback)