7 lines
114 B
ObjectPascal
7 lines
114 B
ObjectPascal
|
|
##
|
||
|
|
function first(f: real-> real) := f(1.0) + 2.0;
|
||
|
|
|
||
|
|
function second(x: real) := x / 2.0;
|
||
|
|
|
||
|
|
println(first(second));
|