8 lines
142 B
Text
8 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)))
|
||
|
|