We use [@@deriving sexp_of]
but not [@@deriving sexp]
because we want people to be
explicit about the hash and comparison functions used when creating hashtables. One
can use Hash_set.Poly.t
, which does have [@@deriving sexp]
, to use polymorphic
comparison and hashing.
override Container.Generic.mem
preserves the equality function