From 3e30658ec5ca3ade4f9295129729127a30b4addf Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 14 Oct 2015 12:21:23 +1100 Subject: Added bubble, quick, selection, merge, gnome sorting algorithms --- quick.ads | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 quick.ads (limited to 'quick.ads') diff --git a/quick.ads b/quick.ads new file mode 100644 index 0000000..e406d51 --- /dev/null +++ b/quick.ads @@ -0,0 +1,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; + -- cgit