RosettaCodeData/Task/Function-definition/SPARK/function-definition-1.spark

6 lines
205 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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;