2

I have this a value of type List[EitherT[IO, String, Int]] and I want to do sequence on it in order to map it into EitherT[IO,String, List[Int]]

I read and I found sequence method but It gives me an error saying that it needs an implicit Applicative of [G] how can this be resolved

Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66
Her sincerly
  • 373
  • 1
  • 13

1 Answers1

5

It's hard to guess the reasons of your compile error ("needs an implicit Applicative[G]") without MCVE. Please provide the one.

Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66