Type add(Type a, Type b) { Type value = a + b; return value; } // add 関数の型引数「 Type 」を int 型として呼び出す int x = add(1, 2); println(x);