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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ce805592e46d231 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-05 02:15:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!pipehawk.demon.co.uk!not-for-mail From: john.mccabe@emrad.com.nospam (John McCabe) Newsgroups: comp.lang.ada Subject: Re: (elementary question) Test on type ? Date: Wed, 05 Sep 2001 09:14:09 GMT Organization: Emrad Ltd Message-ID: <3b95eca7.5408987@news.demon.co.uk> References: <9n24g4$17q$1@snipp.uninett.no> <9n279a$1ua$1@snipp.uninett.no> <3B94B4B4.CE1955D6@nbi.dk> <9n2ctk$36v$1@snipp.uninett.no> NNTP-Posting-Host: pipehawk.demon.co.uk X-NNTP-Posting-Host: pipehawk.demon.co.uk:158.152.226.81 X-Trace: news.demon.co.uk 999681290 nnrp-14:8024 NO-IDENT pipehawk.demon.co.uk:158.152.226.81 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:12738 Date: 2001-09-05T09:14:09+00:00 List-Id: On Tue, 04 Sep 2001 14:15:19 GMT, Ted Dennison wrote: >In article <9n2ctk$36v$1@snipp.uninett.no>, Reinert Korsnes says... >> >>Jacob Sparre Andersen wrote: >>> Seriously, what are you trying to do? >> >>Just do a bit different things in the function depending on the type >>of X. Say, X is Float of Interger.... > >But you can't specify such a parameter, unless you are working with generics (is >that it?). I don't know whether you missed the original message, but it contained: > Assume: > > > -- specification : > generic > type T is (<>); > function F(X : T) return Float; > so it appears the intention was related to the use of generics. Best Regards John McCabe