Transform Either<Record<string, A>, E> to Record<string, Either<A, E>>
Ok now a really stupid question that I should be able to figure out but I'm rusty on my FP mentality right now:
// I have
Either<Record<string, A>, E>
// I want to turn it inside out πΆ
Record<string, Either<A, E>>
// πΈπΆ Find nothing but faith in nothing
// ^ music jokes π