RosettaCodeData/Task/Function-definition/SPARK/function-definition-1.spark
2023-07-01 13:44:08 -04:00

5 lines
205 B
Text

package Functions is
function Multiply (A, B : Integer) return Integer;
--# pre A * B in Integer; -- See note below
--# return A * B; -- Implies commutativity on Multiply arguments
end Functions;