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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1dc0d0f1c69afb5a X-Google-Attributes: gid103376,public From: Peter Hicks Subject: Re: polymophism Date: 1996/11/26 Message-ID: #1/1 X-Deja-AN: 200837985 references: <57eab6$1g84@info4.rus.uni-stuttgart.de> x-sender: ph8tx@sirius content-type: TEXT/PLAIN; charset=US-ASCII organization: University of Hertfordshire mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-11-26T00:00:00+00:00 List-Id: On 26 Nov 1996, Peter Hermann wrote: > What is "polymophism" ? I assume you mean 'polymorphism'. Polymorphism (in my terms) is where a function can accept any type of data, e.g. a char, bool or num. I'm only just starting to learn Ada today, but in Miranda, a polymorphic function's signature is something like: testProcA :: [*] -> * -> * [*] indicates a list of any type, and * indicates any type. Easy! (famous last words) Peter Hicks Course Rep, CS1 (group 1) University of Hertfordshire Tel: 0958 390436