export const Right = <B, A = unknown>(value: B): Either<A, B> => ({
  type: "Right",
  value,
})