// ets_tracing: off import "../Operator/index.js" /** * `Hash[A]` provides a way to hash a value */ export interface Hash { readonly hash: (x: A) => number } export function makeHash(hash: (x: A) => number): Hash { return { hash } }