summaryrefslogtreecommitdiff
path: root/sort/stooge.ads
diff options
context:
space:
mode:
Diffstat (limited to 'sort/stooge.ads')
-rw-r--r--sort/stooge.ads16
1 files changed, 16 insertions, 0 deletions
diff --git a/sort/stooge.ads b/sort/stooge.ads
new file mode 100644
index 0000000..c2e088e
--- /dev/null
+++ b/sort/stooge.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 Stooge is
+
+ procedure Sort(Arr : in out Array_T);
+
+end Stooge;
+