not quite ready to demo, but getting close
# arrow
j
not quite ready to demo, but getting close
👏 1
p
can’t you create a fun <F, A, T> T.getAndLog(Fa) where T: HasLog<F>, T: HasRepository<F>
and then an object that implements both
it may not be possible with some recent changes to inference
j
ended up using kleisli
p
👍🏼
j
hmm ,trying to unify the two approaches. Kleisli { env -> } is seems like the env should be the T, but I can't make the types match up
p
can you please give me a self-contained snippet I can paste in IJ or the try.arrow-kt.in sandbox?
j
sure thing! thanks, appreciate your time