RosettaCodeData/Task/Function-definition/Ada/function-definition-6.ada

8 lines
213 B
Ada
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
with Multiply;
...
function Multiply_Integer is new Multiply(Number => Integer);
use Multiply_Integer; -- If you must
type My_Integer is Range -100..100;
function Multiply_My_Integer is new Multiply(My_Integer);