Skip to content

unify lift between all of the transformers all liftT methods #1681

@kailuowang

Description

@kailuowang

e.g .EitherT.right, OptionT.liftF, StateT.lift, Free.liftF, WriterT.valueT, Kleisli.lift.
Per conversation here https://gitter.im/typelevel/cats?at=591c9cb564a70be11ad2eb79
also we can consider provide FunctionK version, which is easier to compose. e.g.

def liftFK[F[_], S]: F ~> StateT[F, S, ?] =
    λ[F ~> State[F, S, ?]](StateT.lift(_))

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions