/** * Get a `Compactable` for an `Either` given an `AssociativeIdentity`. * * @tsplus static Either.Ops getCompactable */ export function getCompactable(M: AssociativeIdentity) { const C = Either.getCompact(M) const S = Either.getSeparate(M) return HKT.instance>>({ ...C, ...S }) }