package body stackpkg.more is
function second(s: Stack) return ItemType is
begin
if s.top < 2 then
raise Stack_Too_Small;
end if;
return s.elements(s.top - 1);
end second;
function size(s: Stack) return natural is
begin
return s.top;
end size;
end stackpkg.more;