Managing array of monads in fp-ts and Functional Programming
问题 I'm very new to Functional Programming and I'm struggling a lot with running traverse on arrays. When I read this book it seems that I should be able to simply traverse between Monads but I can't wrap my head around this concept with fp-ts. Can someone explain the following using array.traverse/sequence or any other ways please? How can I go from TaskEither<Error, string[]> to TaskEither<Error, Either<Error, string>[]> ; or is there a better way to go from a single error to nested errors