From 773fcc7ef3ede9c6173bf5dfb7091a60ffaeed6f Mon Sep 17 00:00:00 2001 From: Eric Rumsey Date: Tue, 27 May 2025 12:32:49 -0500 Subject: [PATCH] Update "Either" type generic order --- src/lib/util/basic/either.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => ({