Report question

Question: How to use the function type in scala within defined in type meaningfully?