Welcome! Got a question? Do you have -Ypartial-unification turned on? Other FAQs: http://typelevel.org/cats/faq.html
Traverse[T]
of course
No implicit view available from (Int, Int) => scala.collection.GenTraversableOnce[B]
. How can I create GenTraversableOnce? The only way is to create a new such instance? for instance new GenTraversableOnce { ... }
mapN
and many other things
dropWhileF(_.attemptT.isLeft)
resource
might help there
Resource
, you have List[A]
and A => Resource
?
Resource
use
as an input
val getFirstResult =
Stream.emits(inputs)
.evalMap(resourceFor(input).use(operation).attempt)
.dropWhile(_.isLeft)
.take(1)