7 lines
142 B
Text
7 lines
142 B
Text
fun apply (f, x) = f (x)
|
|
fun apply2 (f, x, y) = f (x, y)
|
|
|
|
val main =
|
|
apply (print_int, 42);
|
|
apply (print_int, (apply2 (`+`, 31, 2)))
|
|
|