diff options
| author | Jed Barber <jjbarber@y7mail.com> | 2015-10-17 14:20:48 +1100 | 
|---|---|---|
| committer | Jed Barber <jjbarber@y7mail.com> | 2015-10-17 14:20:48 +1100 | 
| commit | 63c3043200de6b28a8c192f1b5625940435ea55e (patch) | |
| tree | ab761edbbc71b2b2f28e0ef7e10b8adc58d44320 /sort/comb.ads | |
| parent | 5933f248c18914fbbce03102b340361a575eae3c (diff) | |
Organised source code a bit, added makefile with clean target
Diffstat (limited to 'sort/comb.ads')
| -rw-r--r-- | sort/comb.ads | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/sort/comb.ads b/sort/comb.ads new file mode 100644 index 0000000..a8200e7 --- /dev/null +++ b/sort/comb.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 Comb is + +    procedure Sort(Arr : in out Array_T); + +end Comb; + | 
