caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Ocaml library implementing equivalence classes and partial orders
@ 2000-05-22 23:56 nari
  2000-05-25  7:53 ` ocamlc command line suggested features thierry BRAVIER
  0 siblings, 1 reply; 4+ messages in thread
From: nari @ 2000-05-22 23:56 UTC (permalink / raw)
  To: caml-list

Hi,

I was wondering why there has been no Ocaml library implementation
for equivalence and partial order relations (at least over basic types)
just
as we have a 'Set' library over ordered types.

For example,
an equivalence class  module may export functions such as

type t
val create_equiv:  Set.t -> eqrelation.t -> t
val query_eqclass: t -> Set.elt -> Set.t
........

If the user specifies a set of elements and the user defines the
equivalence relation
on those elements, the function should return a datatype that
can be further queried for equivalence classes of individual elements.

Is there any specific reason why such a generic library may be
hard to implement? If not, are there any implementation issues we
need to be concerned about.
Thanx.


--
**************************************************************************
Narayanan Krishnamurthy (Nari)
ASP Advanced Tools and Methodology
Motorola SPS Architecture and Systems Platforms
Motorola Inc. Semiconductor Products Sector
7700 W. Parmer Lane, Austin, TX 78729

Loc/MD: TX32/PL30         _
email : nari@ibmoto.com /   \ email: Narayanan.Krishnamurthy@motorola.com
Ph    : (512) 996-4863  |O O| Fax : (512) 996-7432
************************| I |*********************************************
                        \ o /
                         ---






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-30 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-22 23:56 Ocaml library implementing equivalence classes and partial orders nari
2000-05-25  7:53 ` ocamlc command line suggested features thierry BRAVIER
2000-05-29 12:09   ` Sven LUTHER
2000-05-30  0:50   ` Jacques Garrigue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).