allow fun_match to take any_type