comp.lang.ada
 help / color / mirror / Atom feed
From: Peter Hicks <ph8tx@herts.ac.uk>
Subject: Re: polymophism
Date: 1996/11/26
Date: 1996-11-26T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SOL.3.91.961126125340.18709B-100000@sirius> (raw)
In-Reply-To: 57eab6$1g84@info4.rus.uni-stuttgart.de


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





  reply	other threads:[~1996-11-26  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-26  0:00 polymophism Peter Hermann
1996-11-26  0:00 ` Peter Hicks [this message]
1996-11-26  0:00   ` polymophism Peter Hermann
1996-11-26  0:00 ` polymophism John Howard
1996-11-29  0:00 ` polymophism Richard Riehle
  -- strict thread matches above, loose matches on Subject: below --
1996-11-18  0:00 polymophism AGBOH CHARLES
1996-11-19  0:00 ` polymophism Darren C Davenport
1996-11-21  0:00   ` polymophism Robert I. Eachus
1996-11-21  0:00   ` polymophism James O'Connor
1996-11-21  0:00     ` polymophism Mike Stark
1996-11-22  0:00       ` polymophism Klaus Brouwer
1996-11-23  0:00         ` polymophism James O'Connor
1996-11-25  0:00         ` polymophism Richard Riehle
1996-11-22  0:00       ` polymophism Norman H. Cohen
1996-11-22  0:00     ` polymophism Norman H. Cohen
1996-11-23  0:00       ` polymophism James O'Connor
1996-11-22  0:00         ` polymophism Matthew Heaney
1996-11-25  0:00           ` polymophism Don Harrison
1996-11-25  0:00           ` polymophism Joachim Durchholz
1996-11-26  0:00             ` polymophism Don Harrison
1996-11-23  0:00     ` polymophism John Howard
1996-11-22  0:00   ` polymophism Jon S Anthony
1996-11-22  0:00     ` polymophism Robert A Duff
1996-11-23  0:00   ` polymophism Jon S Anthony
1996-11-24  0:00   ` polymophism Robert B. Love 
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox