summaryrefslogtreecommitdiff
path: root/sort/quick.ads
blob: e406d51ea80e85df911b3d8c16809bcd1f47f5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


generic

    type Index_T is (<>);
    type Element_T is private;
    type Array_T is array (Index_T range <>) of Element_T;

    with function ">"(X, Y : in Element_T) return Boolean is <>;

package Quick is

    procedure In_Place(Arr : in out Array_T);

end Quick;