Type specification in function statement