Hashtbl.HashedType(3o) - phpMan

Command: man perldoc info search(apropos)  


Hashtbl.HashedType(3o)                    OCaml library                    Hashtbl.HashedType(3o)



NAME
       Hashtbl.HashedType - The input signature of the functor Hashtbl.Make.

Module type
       Module type   Hashtbl.HashedType

Documentation
       Module type HashedType
        = sig end


       The input signature of the functor Hashtbl.Make .






       type t


       The type of the hashtable keys.




       val equal : t -> t -> bool

       The equality predicate used to compare keys.




       val hash : t -> int

       A  hashing function on keys. It must be such that if two keys are equal according to equal
       , then they have identical hash values as computed by hash .  Examples: suitable ( equal ,
       hash  ) pairs for arbitrary key types include ( (=) , Hashtbl.hash ) for comparing objects
       by structure, ( (fun x y -> compare x y = 0) , Hashtbl.hash )  for  comparing  objects  by
       structure and handling Pervasives.nan correctly, and ( (==) , Hashtbl.hash ) for comparing
       objects by addresses (e.g. for cyclic keys).






OCamldoc                                    2008-05-19                     Hashtbl.HashedType(3o)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-24 09:05 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!