WeightedT

object WeightedT extends WeightedTInstances
class WeightedTInstances
class WeightedTInstances0
class WeightedTInstances1
class WeightedTInstances2
class WeightedTInstances3
class WeightedTInstances4
class WeightedTInstances5
class WeightedTInstances6
class WeightedTInstances7
class WeightedTInstances8
class WeightedTInstances9
class WeightedTInstances10
class WeightedTInstances11
class WeightedTInstances12
class WeightedTInstances13
class WeightedTInstances14
class WeightedTInstances15
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_], W, A](fwa: F[Weighted[W, A]]): WeightedT[F, W, A]
def liftF[F[_], W, A](fa: F[A])(using evidence$3: Functor[F], evidence$4: MultiplicativeMonoid[W]): WeightedT[F, W, A]
def liftFunctionK[F[_], G[_], A](f: FunctionK[F, G]): FunctionK[[_] =>> WeightedT[F, A, _$10], [_] =>> WeightedT[G, A, _$11]]
def liftK[F[_], W](using evidence$5: Applicative[F], evidence$6: MultiplicativeMonoid[W]): FunctionK[F, [_] =>> WeightedT[F, W, _$6]]
def pure[F[_], W, A](a: A)(using evidence$1: Applicative[F], evidence$2: MultiplicativeMonoid[W]): WeightedT[F, W, A]

Givens

Inherited givens

given Alternative_WeightedT: Applicative[F]
Inherited from:
WeightedTInstances12
given ApplicativeError_WeightedT_E: Applicative[F]
Inherited from:
WeightedTInstances11
given Applicative_WeightedT: Apply[F]
Inherited from:
WeightedTInstances14
given Apply_WeightedT: Functor[F]
Inherited from:
WeightedTInstances15
given Aux_WeightedT_WeightedT: Aux[[_] =>> WeightedT[M, W, _$46], [_] =>> WeightedT[F, W, _$47]]
Inherited from:
WeightedTInstances7
given Clock_WeightedT: ClockPlatform[F]
Inherited from:
WeightedTInstances1
given ContravariantMonoidal_WeightedT: ContravariantSemigroupal[F]
Inherited from:
WeightedTInstances12
given Contravariant_WeightedT: Invariant[F]
Inherited from:
WeightedTInstances13
given Defer_WeightedT[F[_], W](using val F: Defer[F]): Defer[[_] =>> WeightedT[F, W, _$40]]
Inherited from:
WeightedTInstances4
given Distribution_WeightedT_P_S[F[_], W, P, S](using evidence$7: Monad[F], evidence$8: Monoid[W], val r: Distribution[F, P, S], val d: Distribution[Density[F, W], P, S]): Distribution[[_] =>> WeightedT[F, W, _$25], P, S]
Inherited from:
WeightedTInstances
given Eq_WeightedT: Serializable
Inherited from:
WeightedTInstances8
given GenConcurrent_WeightedT_E: GenSpawn[F, E]
Inherited from:
WeightedTInstances1
given GenSpawn_WeightedT_E: MonadCancel[F, E]
Inherited from:
WeightedTInstances2
given GenTemporal_WeightedT_E: GenConcurrent[F, E]
Inherited from:
WeightedTInstances0
given Invariant_WeightedT: Serializable
Inherited from:
WeightedTInstances14
given MonadCancel_WeightedT_E: MonadError[F, E]
Inherited from:
WeightedTInstances3
given MonadError_WeightedT_E: ApplicativeError[F, E]
Inherited from:
WeightedTInstances7
given Monad_WeightedT: FlatMap[F]
Inherited from:
WeightedTInstances9
given MonoidK_WeightedT: SemigroupK[F]
Inherited from:
WeightedTInstances13
given Monoid_WeightedT: Semigroup[A]
Inherited from:
WeightedTInstances9
given Order_WeightedT[F[_], W, A](using val Ord: Order[F[Weighted[W, A]]]): Order[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances5
given PartialOrder_WeightedT[F[_], W, A](using val Ord: PartialOrder[F[Weighted[W, A]]]): PartialOrder[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances6
given SemigroupK_WeightedT: Serializable
Inherited from:
WeightedTInstances14
given Semigroup_WeightedT: Serializable
Inherited from:
WeightedTInstances10
given Show_WeightedT[F[_], W, A](using val x$1: Show[F[Weighted[W, A]]]): Show[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances7
given Sync_WeightedT: MonadCancel[F, Throwable]
Inherited from:
WeightedTInstances0
Inherited from:
WeightedTInstances

Extensions

Extensions

extension [F[_], W, A](wfa: WeightedT[F, W, A])
def compare(that: WeightedT[F, W, A])(using Ord: Order[F[Weighted[W, A]]]): Int
def contramap[B](f: B => A)(using F: Contravariant[F]): WeightedT[F, W, B]
def flatMap[B](f: A => WeightedT[F, W, B])(using F: Monad[F], W0: Rig[W], W1: Eq[W]): WeightedT[F, W, B]
def flatMapF[B](f: A => F[Weighted[W, B]])(using F: Monad[F], W0: Rig[W], W1: Eq[W]): WeightedT[F, W, B]
def imap[B](f: A => B)(g: B => A)(using F: Invariant[F]): WeightedT[F, W, B]
def importance(f: A => W)(using F: Applicative[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]
def importanceF(f: A => F[W])(using F: Monad[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]
def map[B](f: A => B)(using F: Functor[F]): WeightedT[F, W, B]
def mapK[G[_]](f: FunctionK[F, G]): WeightedT[G, W, A]
def show(using F: Show[F[Weighted[W, A]]]): String
def value: F[Weighted[W, A]]