// tracing: off
import "../../Operator"
import * as St from "../../Structural"
export class HashedPair {
  constructor(first, second) {
    this.first = first
    this.second = second
  }

  get [St.hashSym]() {
    return St.combineHash(St.hash(this.first), St.hash(this.second))
  }

  [St.equalsSym](that) {
    return (
      that instanceof HashedPair &&
      St.equals(this.first, that.first) &&
      St.equals(this.second, that.second)
    )
  }
}
//# sourceMappingURL=HashedPair.js.map
