The liftSequence operation should work on a nested type structure the following way
val foo: Foo[List[Option[Bar]]] = \\...
val bar: Foo[Option[List[Bar]]] = foo.liftSquence[List]
Follows the same general layout of the LiftFlatten type parameters. It's expected that if no type M[_] is given, the compiler is free to chose the first type which is a Traversable containing an Applicative.
Given a type class of the following
The
liftSequence
operation should work on a nested type structure the following wayFollows the same general layout of the
LiftFlatten
type parameters. It's expected that if no typeM[_]
is given, the compiler is free to chose the first type which is aTraversable
containing anApplicative
.