type: make type_to_str() print function types