identityeither
Identityeither is a conceptual wrapper that combines the Identity functor with the Either sum type to model computations that may fail with an error or succeed with a value, while preserving an identity context. The term is not part of a single canonical standard; it appears in some library sketches and discussions as a lightweight alias around a value of type Either e a wrapped in an Identity-like container.
In a Haskell-like pseudocode, IdentityEither can be defined as a newtype: newtype IdentityEither e a = IdentityEither
A key property is that IdentityEither e a is isomorphic to Either e a. The Identity wrapper
Relation to transformers: in monad transformer patterns, developers often use EitherT e m a to embed error