hashtables for mutable records

From: Coscoy, Yann (yann.coscoy@icdc.caissedesdepots.fr)
Date: Thu Apr 27 2000 - 15:28:41 MET DST

  • Next message: Thorsten Ohl: "Re: New french book on Objective Caml"

        Hello,

    I want to do an hashtable on mutable and polymorphic records. Standard
    module Hashtbl is not suitable because:
      - Hashtbl.HashType doesn't accept polymorphic types.
      - Hashtbl.hash is susceptible to setups of a mutable fields.

    I would appreciate any suggestion.

      Cheers,

           Yann Coscoy

    ---------------------------------------------------------------------
    Yann Coscoy
    Informatique CDC - Direction des Techniques Avancées
    4, rue Berthollet
    94110 Arcueil
    Tél. : 01 40 49 15 28
    Fax. : 01 40 49 15 78
    e-mail : Yann.Coscoy@icdc.caissedesdepots.fr



    This archive was generated by hypermail 2b29 : Thu Apr 27 2000 - 20:00:12 MET DST