comp.lang.ada
 help / color / mirror / Atom feed
From: grandyre@newton.ccs.tuns.ca (Robert Grandy)
Subject: Looking for generic hash function
Date: 1996/08/16
Date: 1996-08-16T00:00:00+00:00	[thread overview]
Message-ID: <4v23jd$mg9@News.Dal.Ca> (raw)


Hello,

I am looking for a function that will return a random-type integer based
on a generic parameter. What I have in mind is:

generic 
  type data_type is private;
function get_data_id return Integer;

The function would return a pretty much random Integer based on its
generic parameter. I was thinking of using the 'size attribute, but
does anyone have any other suggestions.

Thanks,

Robert Grandy
4th year Computer Science 
Technical University of Nova Scotia





             reply	other threads:[~1996-08-16  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-16  0:00 Robert Grandy [this message]
1996-08-16  0:00 ` Looking for generic hash function Stephen & Tammy House
1996-08-16  0:00 ` Robert Dewar
1996-08-19  0:00 ` Robert I. Eachus
1996-08-21  0:00   ` Stephen & Tammy House
replies disabled

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