cit_util/src/BrandedSet.ig


 $Id: BrandedSet.ig.html,v 1.3 2010-04-29 17:17:56 wagner Exp $ 
GENERIC INTERFACE BrandedSet(Elem, Set);
IMPORT Word;

TYPE T = Set.T;

CONST Brand = "Set of " & Elem.Brand;

PROCEDURE Equal(a, b : T) : BOOLEAN;
PROCEDURE Hash(a : T) : Word.T; (* XXX inefficient *)

END BrandedSet.