GENERIC MODULEKeyPair (Key1, Key2); IMPORT Word; PROCEDUREEqual (READONLY a , b : T) : BOOLEAN = BEGIN RETURN Key1.Equal(a.k1, b.k1) AND Key2.Equal(a.k2, b.k2) END Equal; PROCEDUREHash (READONLY a : T) : Word.T = BEGIN RETURN Word.Times(Key1.Hash(a.k1),Key2.Hash(a.k2)) END Hash; BEGIN END KeyPair.