結果 : swift define function as variable