// This causes me compile time errors (there are no issues at runtime)
Effect.Effect<A, never, Exclude<Exclude<R, Foo>, Bar>>
// casting it to the following fixes all of the type errors
Effect.Effect<A, never, Exclude<R, Foo | Bar>>
// This causes me compile time errors (there are no issues at runtime)
Effect.Effect<A, never, Exclude<Exclude<R, Foo>, Bar>>
// casting it to the following fixes all of the type errors
Effect.Effect<A, never, Exclude<R, Foo | Bar>>