simon.vergauwen
10/30/2017, 3:32 PMStateT
APi. https://github.com/kategory/kategory/compare/simon-statet-docs
So you can achieve following code. https://gist.github.com/nomisRev/89004d77d548dd9910725bf63077a556
i.e. lifting fun pop(stack: Stack): Either<String, Tuple2<Stack, Int>>
to StateT<EitherHK, String, Stack>
with ::pop.stateT()