RosettaCodeData/Task/Function-definition/SPARK/function-definition-1.spark
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07: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;