From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ce28d0565014394,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!postnews.google.com!e20g2000vbn.googlegroups.com!not-for-mail From: chuck Newsgroups: comp.lang.ada Subject: Spark sorting algorithm with generic input data Date: Sun, 19 Sep 2010 04:14:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2a161cb7-87a8-4ba1-8adc-bb3eff322fed@e20g2000vbn.googlegroups.com> NNTP-Posting-Host: 79.226.201.185 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1284894871 4347 127.0.0.1 (19 Sep 2010 11:14:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Sep 2010 11:14:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e20g2000vbn.googlegroups.com; posting-host=79.226.201.185; posting-account=TwmWUgoAAAAKpf7TjhqaWOfmvHNYFGjV User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.55 Safari/534.3,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14161 Date: 2010-09-19T04:14:31-07:00 List-Id: hi folks, at the moment i become acquainted with ada as well as spark language. i implemented a bubble sort algorithm with generic input values in ada and tried a transferring to spark. implementing and proofing the algorithm in spark was not a problem at all, but i'm not sure how to handle generic input values. To my knowledge the concept of generics is not available in spark, therefore i would appreciate any valuable comments on how to make use of data abstraction. thx in advance. jonas