All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tofu.internal.instances.MakeQVarInstance.scala Maven / Gradle / Ivy

There is a newer version: 0.13.6
Show newest version
package tofu.internal
package instances

import scala.compiletime.summonFrom

import tofu.concurrent.MakeQVar
import tofu.internal.carriers.{MkQVarCE2Carrier, MkQVarCE3Carrier}

private[tofu] trait MakeQVarInstance:
  inline given [I[_], F[_]]: MakeQVar[I, F] = summonFrom {
    case carrier: MkQVarCE3Carrier[I, F] => carrier
    case carrier: MkQVarCE2Carrier[I, F] => carrier
  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy