diff --git a/src/lib/util/basic/either.ts b/src/lib/util/basic/either.ts index e7e460f..d3f050c 100644 --- a/src/lib/util/basic/either.ts +++ b/src/lib/util/basic/either.ts @@ -1,6 +1,6 @@ export type Left = {readonly _tag: 'Left', readonly left: E} export type Right = {readonly _tag: 'Right', readonly right: A} -export type Either = Left | Right +export type Either = Right | Left // Constructors export const left = (e: E): Either => ({