Hello @TimWSpence
Thank you for a great project!
I’m trying to share stm
between several implementations:
abstract class Store[F[_]](stm: STM[F]) {
def get(id: String): stm.Txn[Option[..]]
}
but it's impossible because of:
private value stm escapes its defining scope as part of type
What workaround you can suggest?
Txn
is path-dependent does make it a pain sometimes. Did you try what Oleg suggested?